mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-13 23:37:16 +00:00
9 lines
278 B
HTML
9 lines
278 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 }}
|