From 1cf2b933a3b50336004d26bc8ccbcedd1de178f7 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Tue, 26 Feb 2019 00:35:20 -0800 Subject: [PATCH] partials/head: render a placeholder custom_head.html --- exampleSite/layouts/partials/custom_head.html | 3 +++ layouts/partials/custom_head.html | 4 ++++ layouts/partials/head.html | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 exampleSite/layouts/partials/custom_head.html create mode 100644 layouts/partials/custom_head.html diff --git a/exampleSite/layouts/partials/custom_head.html b/exampleSite/layouts/partials/custom_head.html new file mode 100644 index 0000000..8270a73 --- /dev/null +++ b/exampleSite/layouts/partials/custom_head.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html new file mode 100644 index 0000000..fd7359a --- /dev/null +++ b/layouts/partials/custom_head.html @@ -0,0 +1,4 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4f8ce9f..f5afecb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -50,3 +50,6 @@ {{ if .OutputFormats.Get "json" }} {{ end }} + + +{{ partial "custom_head.html" . }}