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, 4 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8a85fc8..8d42cd7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -25,11 +25,15 @@
{{- if (.Param "ShowToc") }}
{{- partial "toc.html" . }}
{{- end }}
+
+ {{- if .Content }}
<div class="post-content">
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
</div>
+ {{- end }}
+
<footer class="post-footer">
{{- if .Params.tags }}
<ul class="post-tags">