mirror of
https://github.com/christian1701/hugo-theme-console.git
synced 2025-11-02 13:39:23 +01:00
favicon: add favicons partials
This commit is contained in:
@@ -18,15 +18,11 @@
|
||||
<![endif]-->
|
||||
` | safeHTML }}
|
||||
|
||||
<link rel="shortcut icon" href="{{ "img/favicon.ico" | absURL }}">
|
||||
<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">
|
||||
{{- partial "favicon.html" . -}}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
{{ template "opengraph.html" . }}
|
||||
{{- partial "opengraph.html" . -}}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
</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;
|
||||
}
|
||||
.post-list-date {
|
||||
display: none;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
||||
Reference in New Issue
Block a user