summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index d4476ed..e46d05f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -41,7 +41,9 @@
</details>
</div>
{{- end }}
- <div class="post-content">{{ .Content }}</div>
+ <div class="post-content">
+ {{- partial "anchored_headings.html" .Content -}}
+ </div>
<footer class="post-footer">
{{- if .Params.tags }}
<ul class="post-tags">