summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafa Marcén <rafa_marcen@hotmail.com>2021-08-26 18:41:36 +0200
committerGitHub <noreply@github.com>2021-08-27 00:41:36 +0800
commit374690bb2173103b6b11d50e370cc97ff0520853 (patch)
tree0b99f9520790075a582fe86b3b3b52bf5e83aa30
parent78056fbad8c7c0570846cabb0e9c4dd9bdcdc84f (diff)
feat: support for custom head content (#59)
-rw-r--r--_includes/custom-head.html6
-rw-r--r--_includes/head.html1
2 files changed, 7 insertions, 0 deletions
diff --git a/_includes/custom-head.html b/_includes/custom-head.html
new file mode 100644
index 0000000..dfbd09a
--- /dev/null
+++ b/_includes/custom-head.html
@@ -0,0 +1,6 @@
+{% comment %}
+ Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
+
+ 1. Head over to https://realfavicongenerator.net/ to add your own favicons.
+ 2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
+{% endcomment %} \ No newline at end of file
diff --git a/_includes/head.html b/_includes/head.html
index 66cca12..f0dd9c2 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -14,4 +14,5 @@
{%- include extensions/google-analytics.html -%}
{%- endif -%}
{%- include extensions/code-highlight.html -%}
+ {%- include custom-head.html -%}
</head>