Create partial for favicon
This commit is contained in:
parent
362a56cb00
commit
a95e559070
|
@ -24,12 +24,7 @@
|
|||
<link href="{{'/assets/fonts/fontawesome/css/brands.css' | url | safe}}" rel="stylesheet" />
|
||||
|
||||
{# Favicon #}
|
||||
{% block favicon %}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
||||
{% endblock %}
|
||||
{% block favicon %}{% include "global/favicon.njk" %}{% endblock %}
|
||||
|
||||
{# JavaScript #}
|
||||
<script src="/assets/js/details-utils.js" defer></script>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
|
@ -14,10 +14,7 @@
|
|||
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
||||
|
||||
{# Favicon #}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
||||
{% include "global/favicon.njk" %}
|
||||
|
||||
<title>{% if title %} {{ title }} | {% endif %} {{ sitemeta.siteName }}</title>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue