aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/polaris/layouts/_default/single.html
diff options
context:
space:
mode:
authorfrosty <passedgoandgot200@disroot.org>2025-06-16 23:29:31 -0400
committerfrosty <passedgoandgot200@disroot.org>2025-06-16 23:29:31 -0400
commit862a61c145ad083521f3941c56fd6e914d051a95 (patch)
tree1b41dc3e850c08eb63d07c7dde577e0f56f53215 /themes/polaris/layouts/_default/single.html
parentb9b380447b5722b58e21fda0ffaee2fd87e20635 (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.html3
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 }}