aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-08 20:23:17 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-08 20:23:17 +0200
commit0224bdd331b3fc54d3b1c812dd0b51f4c73f5d59 (patch)
tree5a2bfc9f39fcf1758932ea28530b09199f4d5985 /layouts/_default
parentda96abdb6d989c5ab432f4b20cf2f5401bf0cb95 (diff)
downloadhugo-minimalist-theme-0224bdd331b3fc54d3b1c812dd0b51f4c73f5d59.tar.gz
hugo-minimalist-theme-0224bdd331b3fc54d3b1c812dd0b51f4c73f5d59.tar.bz2
hugo-minimalist-theme-0224bdd331b3fc54d3b1c812dd0b51f4c73f5d59.zip
post list image
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/summary.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 178f7a5..9e90292 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -10,7 +10,12 @@
{{ .Summary }}
</p>
<footer>
+
<nobr>Read more →</nobr>
+ {{ if .Site.Params.thumbnailImage }}
+ <img src="{{ .Params.thumbnailImage }}" class="mt2 br2">
+ {{ end }}
+
</footer>
</a>
</article>