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

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen <datacobra@thinkbot.de>2021-02-14 14:55:46 +0300
committerGitHub <noreply@github.com>2021-02-14 14:55:46 +0300
commitd7a0562d380d8e6b525163cb1d150c52a9f791e3 (patch)
tree63f58645189737af24b96d0e92e3344055c4eb30
parentcf9e885eca1cd8300d166126649a22481631cf89 (diff)
parentc88ddcc15d1c90e916c42c4677ab1e57b986dc2f (diff)
Merge pull request #47 from Mic92/extended-head2.1.6
add partial to extend head
-rw-r--r--layouts/partials/extend_head.html5
-rw-r--r--layouts/partials/head.html1
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html
new file mode 100644
index 0000000..731bd8f
--- /dev/null
+++ b/layouts/partials/extend_head.html
@@ -0,0 +1,5 @@
+<!-- Head custom content area start -->
+<!--
+Insert any custom code (web-analytics, resources, etc.) - it will appear in the <head></head> section of every page. Can be overwritten by partial with the same name in the global layouts.
+-->
+<!-- Head custom content area end -->
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f104f2c..a83ad14 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -53,4 +53,5 @@
{{- else -}}
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{- end -}}
+ {{- partial "extend_head.html" . -}}
</head>