diff options
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 1 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b676e5..8adfb85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to - Introduced `showRssLink` setting to control display of RSS link in the footer. Thanks [@ivan3bx](https://github.com/ivan3bx) for the idea. +- `partials/head.html` - It may be overwritten to place any content into + the `<head/>` of the build output. ### Changed diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4225c86..7d1f0c4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -41,6 +41,7 @@ {{- end }} {{- $script := resources.Get "script.js" | resources.Fingerprint }} <script defer src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script> + {{ partial "head.html" . }} </head> <body> <div class="pure-g"> diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..23ffa54 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1 @@ +{{- /* overwrite this partial to add content into the <head/> of the build output */}} |