aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/post/single.html
diff options
context:
space:
mode:
authorMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-21 16:07:35 -0800
committerMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-21 16:07:35 -0800
commitdc2a8a9245e4954bf5bb65d68b9f41dbd0fa50c6 (patch)
treedac19b593c16bd548d93f940de00813fef31c74b /site/layouts/post/single.html
parent2544d5ef544a4784da4284d52095525723abcd87 (diff)
Better content type for blog posts
Diffstat (limited to 'site/layouts/post/single.html')
-rw-r--r--site/layouts/post/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/site/layouts/post/single.html b/site/layouts/post/single.html
index 4d6ea43..75a355f 100644
--- a/site/layouts/post/single.html
+++ b/site/layouts/post/single.html
@@ -7,6 +7,8 @@
<p>Read in {{ .ReadingTime }} minutes</p>
</div>
<div class="cms mw6">
+ <p>{{ .Description }}</p>
+ {{ if .Params.image }}<img src="{{ .Params.image }}" alt="{{ .Title }}" />{{ end }}
{{ .Content }}
</div>
</div>