diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-07 03:58:40 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-07 03:58:40 +0200 |
commit | 750727091bdc7723c5e780bb9872c9b538314c3a (patch) | |
tree | 23c4592c38d1bf5b5a05e884a2e5dda6d178ef48 /layouts/_default | |
parent | 5e20b8d99cd4591cc9d066370139d210d673864c (diff) | |
download | hugo-minimalist-theme-750727091bdc7723c5e780bb9872c9b538314c3a.tar.gz hugo-minimalist-theme-750727091bdc7723c5e780bb9872c9b538314c3a.tar.bz2 hugo-minimalist-theme-750727091bdc7723c5e780bb9872c9b538314c3a.zip |
Structured data instead of internal templates of social media
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 2 |
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 }}"> |