added data/socials to manage social links inside templates. General cleanup of the...
[theme-danix.xyz.git] / layouts / partials / funcs / favicon.html
1 <meta name="theme-color" content="#ffeb3b">
2 <meta name="msapplication-navbutton-color" content="#ffeb3b">
3 <meta name="apple-mobile-web-app-capable" content="yes">
4 <meta name="apple-mobile-web-app-status-bar-style" content="black">
5
6 {{ range $i := .Site.Params.faviconSizes }}
7 {{ $favicon := resources.Get "img/icon.png" }}
8 {{ $image := $favicon.Resize (printf "%dx%d CatmullRom" $i $i) }}
9 <link rel="icon" type="image/png" sizes="{{$i}}x{{$i}}" href="{{ $image.Permalink }}" />
10 {{ end }}
11 {{ with resources.Get "img/icon.png" }}
12 {{ $image := .Resize "180x CatmullRom" }}
13 <link rel="apple-touch-icon" sizes="180x180" href="{{ $image.Permalink }}" />
14 {{ end }}