mirror of
https://github.com/aljazceru/midnight-gh-pages-theme.git
synced 2025-12-17 06:04:20 +01:00
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:
9
_includes/head-custom.html
Normal file
9
_includes/head-custom.html
Normal 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 -->
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user