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

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Manoogian III <jm3@jm3.net>2019-10-10 19:09:11 +0300
committerCalin Tataru <calintat@gmail.com>2019-10-10 19:09:11 +0300
commit80c365b18d8ff410e3d69e856bdd456c538cb526 (patch)
tree21eeb96f0b647ae96062bf444b8f581ca6fc2919
parenta357477aaa6b6896766c72196b10c90cf17d09c6 (diff)
Add head-close, mirror of head-open (#92)
-rw-r--r--layouts/partials/head-close.html5
-rw-r--r--layouts/partials/head-open.html7
-rw-r--r--layouts/partials/header.html2
3 files changed, 12 insertions, 2 deletions
diff --git a/layouts/partials/head-close.html b/layouts/partials/head-close.html
new file mode 100644
index 0000000..9f34255
--- /dev/null
+++ b/layouts/partials/head-close.html
@@ -0,0 +1,5 @@
+ <!--
+ Intentionally left empty. Override this partial in your site to insert
+ code just after the CLOSING <head> tag. For example, to install an
+ analytics tracking package.
+-->
diff --git a/layouts/partials/head-open.html b/layouts/partials/head-open.html
index d4fb2c2..1cf1342 100644
--- a/layouts/partials/head-open.html
+++ b/layouts/partials/head-open.html
@@ -1,2 +1,5 @@
-<!-- Intentionally left empty. Override this partial in your website to insert code
-just after the opening <head> tag. For example, to install Google Tag Manager. -->
+<!--
+ Intentionally left empty. Override this partial in your site to insert
+ code just after the OPENING <head> tag. For example, to install an
+ analytics tracking package.
+--> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d5fd837..90101d1 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -24,6 +24,8 @@
gtag('config', '{{ .Site.GoogleAnalytics }}');
</script>
{{ end }}
+ {{ partial "head-close" . }}
+ </head>
{{ if .Site.Params.MathJax | default true }}
<!-- adds MathJax support -->