feat: favicon
This commit is contained in:
parent
47f2cec014
commit
c6705e8be2
9 changed files with 178 additions and 6 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<meta name="author" content="{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
{{- $title := partialCached "data/title" . .RelPermalink -}}
|
||||
{{ $title := partialCached "data/title" . .RelPermalink }}
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
|
@ -19,9 +19,9 @@
|
|||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ . }}" />
|
||||
{{ end }}
|
||||
<link rel="shortcut icon" type="image/png" href="/favicon_md.png">
|
||||
<link rel="shortcut icon" sizes="192x192" href="/favicon_md.png">
|
||||
<link rel="apple-touch-icon" href="/favicon_md.png">
|
||||
|
||||
<!-- Note: j'ai galérer à rajouter du scss car en fait y'avait déja une variable $style de définit plus haut... -->
|
||||
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Fingerprint }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue