diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000..8a77f97 Binary files /dev/null and b/assets/favicon.png differ diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..4c8726d --- /dev/null +++ b/favicon.svg @@ -0,0 +1,46 @@ + diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 8663c19..f540739 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -55,5 +55,18 @@ {{ end }} {{ end }} +{{ with resources.Get "favicon.png" }} + {{ with .Resize "180x" }} + + {{ end }} + + {{ $res := . }} + {{ range (slice "256" "128" "96" "64" "48" "32" "16") }} + {{ with $res.Resize (print . "x") }} + + {{ end }} + {{ end }} +{{ end }} +