hugo-theme-readable

Fork of https://github.com/cjtheham/hugo-theme-readable
git clone https://git.eamoncaddigan.net/hugo-theme-readable.git
Log | Files | Refs | README | LICENSE

commit 069a59202f97433ccd28d9af3ee30d3fd1b94781
parent 304b5c053629b4deaaf2900e1a4fd0127b14f931
Author: Eamon Caddigan <eamon.caddigan@gmail.com>
Date:   Sun, 23 Jul 2023 14:47:59 -0700

feat: Added `hook_head_end.html` to head

This makes it easier for theme users to add elements to the head. A file
located at layouts/partials/hook_head_end.html in the site folder will
override the (empty) `hook_head_end.html` in the theme.

Diffstat:
Mlayouts/partials/head.html | 1+
Alayouts/partials/hook_head_end.html | 0
2 files changed, 1 insertion(+), 0 deletions(-)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -9,4 +9,5 @@ {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} <title>{{ $title }}</title> + {{ partial "hook_head_end.html" . }} </head> diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html