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:
authorJames Tharpe <james@brainbytescreative.com>2017-09-18 15:17:46 +0300
committerJames Tharpe <james@brainbytescreative.com>2017-09-18 15:17:46 +0300
commit47851d627e5679b834e2b4a713605b3b65a306ab (patch)
treefffec64eb95b66e10fc7535e6545df84f98c5521
parent40d9c25835744585c5bf68fae0346d9d7ee68b8d (diff)
Adds head-open support
-rw-r--r--layouts/partials/head-close.html2
-rw-r--r--layouts/partials/head-open.html2
-rw-r--r--layouts/partials/header.html1
3 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/head-close.html b/layouts/partials/head-close.html
index 3f173aa..01079da 100644
--- a/layouts/partials/head-close.html
+++ b/layouts/partials/head-close.html
@@ -1,2 +1,2 @@
<!-- Intentionally left empty. Override this partial in your website to insert code just before
- the closing </head> tag. For example, to install Google Tag Manager. --> \ No newline at end of file
+ the closing </head> tag. --> \ No newline at end of file
diff --git a/layouts/partials/head-open.html b/layouts/partials/head-open.html
new file mode 100644
index 0000000..9828a89
--- /dev/null
+++ b/layouts/partials/head-open.html
@@ -0,0 +1,2 @@
+ <!-- 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. --> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 53a1e5f..a7fe630 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
+ {{ partial "head-open" . }}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}</title>