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" />
|
<link href="{{'/assets/fonts/fontawesome/css/brands.css' | url | safe}}" rel="stylesheet" />
|
||||||
|
|
||||||
{# Favicon #}
|
{# Favicon #}
|
||||||
{% block favicon %}
|
{% block favicon %}{% include "global/favicon.njk" %}{% endblock %}
|
||||||
<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 %}
|
|
||||||
|
|
||||||
{# JavaScript #}
|
{# JavaScript #}
|
||||||
<script src="/assets/js/details-utils.js" defer></script>
|
<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}}">
|
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
||||||
|
|
||||||
{# Favicon #}
|
{# Favicon #}
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
{% include "global/favicon.njk" %}
|
||||||
<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">
|
|
||||||
|
|
||||||
<title>{% if title %} {{ title }} | {% endif %} {{ sitemeta.siteName }}</title>
|
<title>{% if title %} {{ title }} | {% endif %} {{ sitemeta.siteName }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue