Allow site title to be customised via parital (#384)

* Allow site title to be customised via parital
* Modify readme to highlight available partials
* Rename template for consistency
* Move title tags to head partial
This commit is contained in:
Jack Morgan
2021-09-27 20:36:02 +13:00
committed by GitHub
parent f2fb37b1ad
commit 9d4916fcc2
3 changed files with 7 additions and 4 deletions
@@ -0,0 +1 @@
{{ partial "docs/title" . }} | {{ .Site.Title -}}
+1 -1
View File
@@ -6,7 +6,7 @@
{{- template "_internal/opengraph.html" . -}}
<title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title>
<title>{{ partial "docs/html-head-title" . }}</title>
{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }}
<link rel="manifest" href="{{ $manifest.RelPermalink }}">