aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/summary.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 6348bbc..13c94e8 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -14,6 +14,10 @@
<nobr class="link">Continue reading →</nobr>
{{ with .Params.thumbnailImage }}
<img src="{{ . }}" class="mt2 br2">
+ {{ else }}
+ {{ if .Params.coverimage }}
+ <img src="{{ .Params.coverimage }}" class="mt2 br2" />
+ {{ end}}
{{ end }}
</footer>