mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 22:54:22 +01:00
Fix: Favicon config
This commit is contained in:
parent
48a2f0f987
commit
be7fcf56f2
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@
|
||||||
<link rel="stylesheet" href="{{ $custom.Permalink }}" media="screen">
|
<link rel="stylesheet" href="{{ $custom.Permalink }}" media="screen">
|
||||||
|
|
||||||
{{ "<!--Favicon-->" | safeHTML }}
|
{{ "<!--Favicon-->" | safeHTML }}
|
||||||
<link rel="shortcut icon" href="{{ `/img/favicon.png` | absURL }}" type="image/x-icon">
|
<link rel="shortcut icon" href="{{ with site.Params.favicon }}{{ . | absURL }}{{ end }}" type="image/x-icon">
|
||||||
<link rel="icon" href="{{ `/img/favicon.png` | absURL }}" type="image/x-icon">
|
<link rel="icon" href="{{ with site.Params.favicon }}{{ . | absURL }}{{ end }}" type="image/x-icon">
|
||||||
|
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
|
Loading…
Reference in a new issue