Get about text through variables

The about line beneth the headline on the start page was fixed. Now
the content of the params.about variables is used.
This commit is contained in:
Marcel Kapfer 2021-08-18 22:36:10 +02:00
parent 624575b430
commit b4cf893d6f
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<header> <header>
<h1>{{ .Site.Title }}</h1> <h1>{{ .Site.Title }}</h1>
<h3>I compose music and write stuff</h3> <h3>{{ .Site.Params.about }}</h3>
</header> </header>
{{ .Content }} {{ .Content }}