chore: use smartcrop for profile images (#465)

This commit is contained in:
Robert Kaussow 2023-12-02 16:42:30 +01:00 committed by GitHub
parent 832d0b1400
commit 3f8a09d311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
{{- $data.SetInMap "size" "medium" "1200" }} {{- $data.SetInMap "size" "medium" "1200" }}
{{- $data.SetInMap "size" "large" "1800" }} {{- $data.SetInMap "size" "large" "1800" }}
{{- else }} {{- else }}
{{- $data.SetInMap "size" "profile" (.Fill "180x180 Center").Permalink }} {{- $data.SetInMap "size" "profile" (.Fill "180x180 Smart").Permalink }}
{{- $data.SetInMap "size" "tiny" (.Resize "320x").Permalink }} {{- $data.SetInMap "size" "tiny" (.Resize "320x").Permalink }}
{{- $data.SetInMap "size" "small" (.Resize "600x").Permalink }} {{- $data.SetInMap "size" "small" (.Resize "600x").Permalink }}
{{- $data.SetInMap "size" "medium" (.Resize "1200x").Permalink }} {{- $data.SetInMap "size" "medium" (.Resize "1200x").Permalink }}