mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Add customizable/disable-able favicons
This commit is contained in:
parent
c995cb9d95
commit
41bd025132
@ -3,7 +3,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/bobatheme.css">
|
<link rel="stylesheet" type="text/css" href="/css/bobatheme.css">
|
||||||
<link rel="alternate icon" href="/favicon.ico" />
|
|
||||||
|
{{ with .Site.Params.faviconICO }}
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{.}}" />
|
||||||
|
{{ end }}
|
||||||
|
{{ with .Site.Params.faviconPNG }}
|
||||||
|
<link rel="icon" type="image/png" href="{{.}}" />
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
{{ 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 }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user