mirror of
https://github.com/christian1701/hugo-theme-console.git
synced 2025-11-03 05:59: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>
|
||||
|
||||
Reference in New Issue
Block a user