aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-08 21:45:52 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-08 21:49:58 +0200
commit884c7caff7d50e3303e956f24d71345c9ed58025 (patch)
tree4a3835075299d92aa4fca91483eb95654c4e458f /layouts/_default
parent46469d1d5218b56e2b418a34e39cfe6457c6ef66 (diff)
downloadhugo-minimalist-theme-884c7caff7d50e3303e956f24d71345c9ed58025.tar.gz
hugo-minimalist-theme-884c7caff7d50e3303e956f24d71345c9ed58025.tar.bz2
hugo-minimalist-theme-884c7caff7d50e3303e956f24d71345c9ed58025.zip
Top navigation
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 9e90292..acfd2c4 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -12,8 +12,8 @@
<footer>
<nobr>Read more →</nobr>
- {{ if .Site.Params.thumbnailImage }}
- <img src="{{ .Params.thumbnailImage }}" class="mt2 br2">
+ {{ with .Params.thumbnailImage }}
+ <img src="{{ . }}" class="mt2 br2">
{{ end }}
</footer>