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.
This commit is contained in:
Eamon Caddigan 2023-07-23 14:47:59 -07:00
parent 304b5c0536
commit 069a59202f
2 changed files with 1 additions and 0 deletions

View File

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

View File