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:
@@ -0,0 +1 @@
|
||||
{{ partial "docs/title" . }} | {{ .Site.Title -}}
|
||||
@@ -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 }}">
|
||||
|
||||
Reference in New Issue
Block a user