diff options
author | parsiya <parsiya@gmail.com> | 2018-09-03 01:14:11 +0300 |
---|---|---|
committer | parsiya <parsiya@gmail.com> | 2018-09-03 01:14:11 +0300 |
commit | 63c9b5b24aa58dc77405222b18a40e99821a1231 (patch) | |
tree | a7cc9a292fc0b7389bf65a557c6b690d9495e46f /layouts/_default/single.html | |
parent | 78ec905f19f537199d82d20eb16c7132b023034e (diff) |
Clean up partials and shortcodes
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 }} |