aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/default/layouts/partials/author-card.html2
-rw-r--r--themes/default/layouts/partials/author-header.html2
-rw-r--r--themes/default/layouts/partials/function-caches-images.html12
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 -}}
<source srcset="{{ . }}" type="image/webp" />
{{- 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 -}}