Add head-custom.html for custom head tags.

This allows users to specify custom head tags,
e.g. for a favicon, without patching _default.html.
Also migrates the existing theme-color setting include there
so it can be overridden easily.

closes #28
This commit is contained in:
Oliver Freyermuth
2021-01-31 03:53:15 +01:00
parent c6ed81445c
commit 98f92ac0f6
2 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
<!-- start custom head snippets -->
<!-- Setup theme-color. -->
{% include theme_color_meta_headers.html %}
<!-- You can set your favicon here. -->
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
<!-- end custom head snippets -->

View File

@@ -15,9 +15,7 @@
<link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!-- Setup theme-color. -->
{% include theme_color_meta_headers.html %}
{% include head-custom.html %}
</head>
<body>
<div id="header">