From 285444ebf0050ce33058042fc0c5c12ec6be1f15 Mon Sep 17 00:00:00 2001 From: Jan Raasch Date: Wed, 8 Jul 2020 20:26:33 +0200 Subject: [PATCH] feat: add empty custom_body and custom_head partials MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to be overwritten by the user 🎸. --- layouts/_default/baseof.html | 8 ++++++-- layouts/partials/custom_body.html | 4 ++++ layouts/partials/custom_head.html | 4 ++++ layouts/partials/head.html | 5 +++++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/custom_body.html create mode 100644 layouts/partials/custom_head.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e160b55..4220985 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,12 +5,16 @@ {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "footer.html" . -}} - + - + + + {{- partial "custom_body.html" . -}} diff --git a/layouts/partials/custom_body.html b/layouts/partials/custom_body.html new file mode 100644 index 0000000..293a37a --- /dev/null +++ b/layouts/partials/custom_body.html @@ -0,0 +1,4 @@ + diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html new file mode 100644 index 0000000..7685177 --- /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 04ddb12..19514a4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,3 +21,8 @@ {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/schema.html" . }} + + +{{- partial "custom_head.html" . -}}