diff options
-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" . }} |