Skip to content

Commit

Permalink
Add head-custom.html for custom head tags.
Browse files Browse the repository at this point in the history
This allows users to specify custom head tags,
e.g. for a favicon, without patching _default.html.

closes #28
  • Loading branch information
olifre committed Jan 31, 2021
1 parent 1cbe0b9 commit c694dc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- start custom head snippets -->

<!-- You can set your favicon here. -->
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->

<!-- end custom head snippets -->
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +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">

{% include head-custom.html %}
</head>
<body>
<div id="header">
Expand Down

0 comments on commit c694dc5

Please sign in to comment.