From cc1746ce7d659d72717a8e195e76b0427742454c Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 22 Sep 2022 23:14:39 -0400 Subject: themes/default/layouts/partials/function-caches-images: Opt -> Alt --- themes/default/layouts/partials/author-card.html | 2 +- themes/default/layouts/partials/author-header.html | 2 +- themes/default/layouts/partials/function-caches-images.html | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html index 7f8a5d6..1211c3f 100644 --- a/themes/default/layouts/partials/author-card.html +++ b/themes/default/layouts/partials/author-card.html @@ -19,7 +19,7 @@ {{- $height := $image.Height -}} {{- $source := $image.RelPermalink -}} {{- $alternate := .Data.name -}} -{{- $sourceset := $image.OptRelPermalink -}} +{{- $sourceset := $image.AltRelPermalink -}} {{- with .Params.feed.image -}} {{- $width = "64" -}} diff --git a/themes/default/layouts/partials/author-header.html b/themes/default/layouts/partials/author-header.html index b1b1634..9c969c9 100644 --- a/themes/default/layouts/partials/author-header.html +++ b/themes/default/layouts/partials/author-header.html @@ -16,7 +16,7 @@ ) -}} -{{- with $image.OptRelPermalink -}} +{{- with $image.AltRelPermalink -}} {{- end -}} diff --git a/themes/default/layouts/partials/function-caches-images.html b/themes/default/layouts/partials/function-caches-images.html index 768c7e9..c64caf1 100644 --- a/themes/default/layouts/partials/function-caches-images.html +++ b/themes/default/layouts/partials/function-caches-images.html @@ -46,8 +46,8 @@ {{- $image = $image | resources.Copy $alternateCopy -}} {{- $data = merge $data (dict - "OptPermalink" $image.Permalink - "OptRelPermalink" $image.RelPermalink + "AltPermalink" $image.Permalink + "AltRelPermalink" $image.RelPermalink ) -}} {{- end -}} @@ -77,8 +77,8 @@ {{- $image = $image | resources.Copy $alternateCopy -}} {{- $data = merge $data (dict - "OptPermalink" $image.Permalink - "OptRelPermalink" $image.RelPermalink + "AltPermalink" $image.Permalink + "AltRelPermalink" $image.RelPermalink ) -}} {{- end -}} @@ -102,8 +102,8 @@ {{- $image = $image | resources.Copy $alternateCopy -}} {{- $data = merge $data (dict - "OptPermalink" $image.Permalink - "OptRelPermalink" $image.RelPermalink + "AltPermalink" $image.Permalink + "AltRelPermalink" $image.RelPermalink ) -}} {{- end -}} -- cgit v1.2.3