Rename listshowcontent to fullpages

This commit is contained in:
Will Faught
2023-02-25 14:13:54 -08:00
parent 136691fb7b
commit ef9b83a2ea
5 changed files with 13 additions and 13 deletions

View File

@@ -1,14 +1,14 @@
{{ $params := . }}
{{ $fullpages := false }}
{{ $page := . }}
{{ $listshowcontent := false }}
{{ if reflect.IsMap $params }}
{{ $fullpages = $params.fullpages }}
{{ $page = $params.page }}
{{ $listshowcontent = $params.listshowcontent }}
{{ end }}
{{ if and $page.Content (not $listshowcontent) (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }}
{{ if and $page.Content (not $fullpages) (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }}
<section class="paige-toc">
<div class="border mb-3 pe-3 ps-3 pt-3 rounded">
{{ $page.TableOfContents }}