2022-12-17 18:41:44 +00:00
|
|
|
{{ if ( .Scratch.Get "listMode" ) }}
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2023-01-29 18:44:51 +00:00
|
|
|
{{ if ( and ( in site.Params.mainSections .Section ) ( in "current log wishlist" ( .Scratch.Get "page" ) ) ) }}
|
2022-12-17 18:41:44 +00:00
|
|
|
{{ partial ( printf "%s/%s" .Section "table-header" ) . }}
|
|
|
|
{{ end }}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2023-01-29 18:44:51 +00:00
|
|
|
{{ if ( and ( in site.Params.mainSections .Section ) ( in "current log wishlist" ( .Scratch.Get "page" ) ) ) }}
|
2022-12-17 18:41:44 +00:00
|
|
|
{{ partial ( printf "%s/%s" .Section "table-body" ) . }}
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
<table>
|
|
|
|
{{ end }}
|