favicon: add favicons partials
This commit is contained in:
parent
99828eca0e
commit
49427a6f50
4 changed files with 5 additions and 7 deletions
|
@ -18,15 +18,11 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
` | safeHTML }}
|
` | safeHTML }}
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{{ "img/favicon.ico" | absURL }}">
|
{{- partial "favicon.html" . -}}
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
|
|
||||||
<link rel="manifest" href="/img/site.webmanifest">
|
|
||||||
{{ with .OutputFormats.Get "RSS" }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ template "opengraph.html" . }}
|
{{- partial "opengraph.html" . -}}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
1
layouts/partials/favicon.html
Normal file
1
layouts/partials/favicon.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -237,7 +237,8 @@ figure {
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
.post-list-date {
|
.post-list-date {
|
||||||
display: none;
|
width: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
|
|
Loading…
Reference in a new issue