From 55adaddc3091d26b13f0063fafd8921a22a5f601 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 24 May 2021 14:30:19 +0200 Subject: [PATCH] feat: add partial head/custom.html for custom page head elements (#48) --- exampleSite/assets/sprites/regular.svg | 2 +- layouts/_default/baseof.html | 1 + layouts/partials/head/custom.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/head/custom.html diff --git a/exampleSite/assets/sprites/regular.svg b/exampleSite/assets/sprites/regular.svg index 2edd1f7..c7a3da1 100644 --- a/exampleSite/assets/sprites/regular.svg +++ b/exampleSite/assets/sprites/regular.svg @@ -2,7 +2,7 @@ Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --> - + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 575f450..035927e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,7 @@ {{ partial "head/microformats" . }} {{ partial "head/others" . }} {{ partial "head/schema.html" . }} + {{ partial "head/custom" . }} diff --git a/layouts/partials/head/custom.html b/layouts/partials/head/custom.html new file mode 100644 index 0000000..c4397a8 --- /dev/null +++ b/layouts/partials/head/custom.html @@ -0,0 +1 @@ +