diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 994cbd7..6e4de67 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,7 +11,6 @@ <div class="entry-content"> <!-- insert table of contents if it is set either in the config file or in the frontmatter - frontmatter has priority --> {{ $.Scratch.Set "pagetoc" .TableOfContents }} - <!-- the isset here is working properly becasue everything is lower case --> {{ if or (and (isset .Params "toc") (eq .Params.toc true)) (and (not (isset .Params "toc")) (eq .Site.Params.tableOfContents true)) }} {{ $.Scratch.Get "pagetoc" }} {{ end }} |