diff options
author | dataCobra <datacobra@thinkbot.de> | 2021-04-12 21:02:11 +0300 |
---|---|---|
committer | dataCobra <datacobra@thinkbot.de> | 2021-04-12 21:02:11 +0300 |
commit | f721f71bda85d6a90ff0c1d40d630a70ebf087fd (patch) | |
tree | 100231a1158af59a2134197d715dda8cf2727821 | |
parent | a1c789c29e687e117a0ec70b488f19878dd71251 (diff) |
Add extend_head feature
-rw-r--r-- | layouts/partials/extend_head.html | 3 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html new file mode 100644 index 0000000..d66e31a --- /dev/null +++ b/layouts/partials/extend_head.html @@ -0,0 +1,3 @@ +<!-- 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 c146544..89c5a65 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -38,6 +38,7 @@ document.addEventListener("DOMContentLoaded", function() { renderMathInElement(d {{- with .OutputFormats.Get "rss" }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end }} +{{- partial "extend_head.html" . }} {{ template "_internal/opengraph.html" . -}} {{ template "_internal/twitter_cards.html" . }} |