mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Extract favicon into a partial
- Backwards compatible with previous implementation - Consumers can define their own favicon in parital, depending on their preference of render / source
This commit is contained in:
parent
559ccfe896
commit
b05203c2e6
|
@ -21,7 +21,7 @@
|
||||||
<meta name="twitter:creator" content="{{ .Site.Params.twitterCreator | default .Site.Params.twitter }}" />
|
<meta name="twitter:creator" content="{{ .Site.Params.twitterCreator | default .Site.Params.twitter }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
{{ partial "favicon.html" }}
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
{{ block "styles" . }} {{ end }} <!-- Get "style_opts" variable from "styles" block -->
|
{{ block "styles" . }} {{ end }} <!-- Get "style_opts" variable from "styles" block -->
|
||||||
|
|
1
layouts/partials/favicon.html
Normal file
1
layouts/partials/favicon.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
Loading…
Reference in New Issue
Block a user