mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 05:00:39 +00:00
chore: use smartcrop for profile images (#465)
This commit is contained in:
parent
832d0b1400
commit
3f8a09d311
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user