mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 07:04:23 +01:00
Fixed favicon on subpages
This commit is contained in:
parent
560917e252
commit
fbb98ffd3b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<head>
|
||||
<meta charset="{{ site.Params.charset }}">
|
||||
<title>{{ .Title }}</title>
|
||||
<title>{{with .Title }}{{ . }}{{ else }}{{ with site.Params.title }}{{ . }}{{ end }}{{ end }}</title>
|
||||
|
||||
{{ "<!-- Mobile responsive meta -->" | safeHTML }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
@ -31,8 +31,8 @@
|
|||
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
|
||||
|
||||
{{ "<!--Favicon-->" | safeHTML }}
|
||||
<link rel="shortcut icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ `img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="{{ `/img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ `/img/favicon.png` | absURL }}" type="image/x-icon">
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
|
|
Loading…
Reference in a new issue