diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c73680f..8a85fc8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -26,7 +26,9 @@ {{- partial "toc.html" . }} {{- end }} <div class="post-content"> + {{- if not (.Param "disableAnchoredHeadings") }} {{- partial "anchored_headings.html" .Content -}} + {{- else }}{{ .Content }}{{ end }} </div> <footer class="post-footer"> {{- if .Params.tags }} |
