diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-02-14 14:53:06 +0300 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-02-14 14:53:06 +0300 |
commit | c88ddcc15d1c90e916c42c4677ab1e57b986dc2f (patch) | |
tree | 7007d435caa6585722dfec2cf9a591cd8bde3cca | |
parent | 43dd971c2d504ca9289e8c9a4e9399c6936735f5 (diff) |
add partial to extend head
-rw-r--r-- | layouts/partials/extend_head.html | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 |
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 caa1c6a..7720f3f 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> |