Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/extended_head.html4
-rw-r--r--layouts/partials/head.html3
2 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/extended_head.html b/layouts/partials/extended_head.html
new file mode 100644
index 0000000..5fea31d
--- /dev/null
+++ b/layouts/partials/extended_head.html
@@ -0,0 +1,4 @@
+<!--
+If you want to include any custom html just before </head>, put it in /layouts/partials/extended_head.html
+Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/extended_head.html doesn't exist.
+--> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index dac390a..d17e57c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -127,4 +127,7 @@ $(
<script src="//cdn.jsdelivr.net/npm/@waline/client/dist/Waline.min.js"></script>
{{ end }}
+<!-- head custom -->
+{{- partial "extended_head.html" . }}
+
</head>