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.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f1d2407..a10ce57 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,6 +14,11 @@
</div>
{{end}}
</header>
+ {{ if .Params.cover }}
+ <figure class="entry-cover">
+ <img src="{{ .Params.cover | absURL }}" alt="cover image for {{ .Title | plainify }}">
+ </figure>
+ {{ end }}
{{ if .Params.ShowToc }}
<div class="toc">
<details>