From a719439e4c6633f9bacbbdb060ae986d37b41799 Mon Sep 17 00:00:00 2001 From: Andries Date: Sun, 23 May 2021 17:16:16 +0200 Subject: #93 add 'extended_head.html' partial --- archetypes/default.md | 6 +++--- exampleSite/layouts/partials/extended_head.html | 2 ++ layouts/partials/extended_head.html | 4 ++++ layouts/partials/head.html | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 exampleSite/layouts/partials/extended_head.html create mode 100644 layouts/partials/extended_head.html diff --git a/archetypes/default.md b/archetypes/default.md index f8184fe..d1ef720 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,12 +1,12 @@ --- title: "" -date: +date: description: "" tags: [] featured_image: "" # images is optional, but needed for showing Twitter Card images: [] -categories: -comment : true +categories: +comment: true draft: true --- diff --git a/exampleSite/layouts/partials/extended_head.html b/exampleSite/layouts/partials/extended_head.html new file mode 100644 index 0000000..102c371 --- /dev/null +++ b/exampleSite/layouts/partials/extended_head.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/layouts/partials/extended_head.html b/layouts/partials/extended_head.html new file mode 100644 index 0000000..5fea31d --- /dev/null +++ b/layouts/partials/extended_head.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index dac390a..d17e57c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -127,4 +127,7 @@ $( {{ end }} + +{{- partial "extended_head.html" . }} + -- cgit v1.2.3