use partial for page title

This commit is contained in:
Ben Goldsworthy 2025-06-04 17:44:11 +02:00
parent 8ac75f4104
commit 22da247332
No known key found for this signature in database
12 changed files with 32 additions and 21 deletions

View file

@ -18,14 +18,9 @@
content="{{- block "head-description" . -}}{{- $.Site.Params.description | html -}}{{- end -}}"
/>
<title itemprop="name">
{{- block "title" . -}}
{{- .Site.Title -}}
{{- with .Site.Params.tagline -}}
{{- printf " | %s" . -}}
{{- end -}}
{{- partialCached "head/title.html" ( slice .Site.Title .Site.Params.tagline ) .Site.Title .Site.Params.tagline -}}
{{- end -}}
</title>
<link
rel="license"