aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6538e4f..77b7f97 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,7 +8,7 @@
<h3 class="f3 baskerville mv3">{{ . }}</h3>
{{end}}
- {{ with resources.Get (index .Params.images 0) | default (resources.Get .Params.image) }}
+ {{ with resources.Get (index .Params.images 0) }}
{{ $image := .Fill (default "400x400" $.Params.image_size) }}
<div class="relative">
<img src="{{ $image.RelPermalink }}" class="db center" alt= "{{ .Title }}">