aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/author-picture.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-07 02:18:50 -0400
committertdro <tdro@noreply.example.com>2022-06-07 02:18:50 -0400
commit2ca7ec6f28917026c4efde652a6c094ea9118e59 (patch)
tree2dc8d93dd869d93424b62cd9269b07d5989ad0de /themes/default/layouts/partials/author-picture.html
parent04123b3bd9a7eebb1750411576ef396b2b76d29e (diff)
downloadcanory-2ca7ec6f28917026c4efde652a6c094ea9118e59.tar.gz
canory-2ca7ec6f28917026c4efde652a6c094ea9118e59.tar.bz2
canory-2ca7ec6f28917026c4efde652a6c094ea9118e59.zip
themes/default/layouts/partials/author-picture: Up resolution to 120px
Diffstat (limited to 'themes/default/layouts/partials/author-picture.html')
-rw-r--r--themes/default/layouts/partials/author-picture.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/author-picture.html b/themes/default/layouts/partials/author-picture.html
index 74347fa..f0a0849 100644
--- a/themes/default/layouts/partials/author-picture.html
+++ b/themes/default/layouts/partials/author-picture.html
@@ -8,9 +8,9 @@
{{- else -}}
{{- with $image -}}
{{- $image = .Content | resources.FromString (print "/data/static/images/" ($image | urlize)) -}}
- <source srcset="{{- ($image.Resize "x64 png").RelPermalink -}}" type="image/png" />
- <source srcset="{{- ($image.Resize "x64 jpg").RelPermalink -}}" type="image/jpeg" />
- <source srcset="{{- ($image.Resize "x64 webp").RelPermalink -}}" type="image/webp" />
+ <source srcset="{{- ($image.Resize "x120 png").RelPermalink -}}" type="image/png" />
+ <source srcset="{{- ($image.Resize "x120 jpg").RelPermalink -}}" type="image/jpeg" />
+ <source srcset="{{- ($image.Resize "x120 webp").RelPermalink -}}" type="image/webp" />
{{- end -}}
{{ end }}
@@ -24,7 +24,7 @@
{{ else }}
{{ if fileExists $path }}
{{- with $image -}}
- {{- $image = (.Content | resources.FromString (print "/data/static/images/" ($image | urlize))).Resize "x64" -}}
+ {{- $image = (.Content | resources.FromString (print "/data/static/images/" ($image | urlize))).Resize "x120" -}}
width="{{ $image.Width }}"
height="{{ $image.Height }}"
src="{{ $image.RelPermalink }}"