Make it easier to override subtitle

This commit is contained in:
undergroundwires 2021-12-31 04:25:13 +01:00
parent 848b6879b3
commit 660f1fcaaf
2 changed files with 5 additions and 3 deletions

View file

@ -10,9 +10,8 @@
{{ end }}
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Params.homeSubtitle }}
<p>{{.}}</p>
{{- end }}
{{ partial "subtitle.html" . }}
{{- with .Site.Params.social }}
<div>

View file

@ -0,0 +1,3 @@
{{- with .Site.Params.homeSubtitle }}
<p>{{.}}</p>
{{- end }}