diff options
author | frosty <passedgoandgot200@disroot.org> | 2025-06-16 23:29:31 -0400 |
---|---|---|
committer | frosty <passedgoandgot200@disroot.org> | 2025-06-16 23:29:31 -0400 |
commit | 862a61c145ad083521f3941c56fd6e914d051a95 (patch) | |
tree | 1b41dc3e850c08eb63d07c7dde577e0f56f53215 /themes/polaris/layouts/_default/single.html | |
parent | b9b380447b5722b58e21fda0ffaee2fd87e20635 (diff) |
add stuff that rocks, enable table of contents, add og tags, and more
Diffstat (limited to 'themes/polaris/layouts/_default/single.html')
-rw-r--r-- | themes/polaris/layouts/_default/single.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/polaris/layouts/_default/single.html b/themes/polaris/layouts/_default/single.html index 21b247d..56b9d9d 100644 --- a/themes/polaris/layouts/_default/single.html +++ b/themes/polaris/layouts/_default/single.html @@ -7,5 +7,8 @@ </p> {{ end }} {{ end }} + {{ if or (eq .Section "posts") (.Params.toc) }} + {{ with .TableOfContents }}{{ . }}{{ end }} + {{ end }} {{ .Content }} {{ end }} |