mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
9 lines
282 B
HTML
9 lines
282 B
HTML
{{ $image := "/img/favicon.png" }}
|
|
{{ $sizes := slice 16 32 64 100 200 }}
|
|
|
|
{{ range $sizes }}
|
|
{{ $sizes := printf "%dx%d" . . }}
|
|
<link rel="icon" type="image/png" sizes="{{ $sizes }}"
|
|
href='{{ ((resources.Get $image | fingerprint).Resize $sizes).RelPermalink }}'>
|
|
{{ end }}
|