Merge pull request #356 from undergroundwires/subtitle

Make it easier to override subtitle
This commit is contained in:
Djordje Atlialp 2022-02-04 23:00:46 +01:00 committed by GitHub
commit c8ace1b809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 }}