diff options
author | Jannis Fink <fink@uni-bremen.de> | 2020-03-25 23:33:08 +0300 |
---|---|---|
committer | Jannis Fink <fink@uni-bremen.de> | 2020-03-25 23:33:08 +0300 |
commit | 29a219f597a02d6421193ffce6b46180bd900fb1 (patch) | |
tree | b4767b958a847d9c0a383ade19751cccdbfac8df | |
parent | ca2a98e7c271208b8f35f4a4c5961531716c11ec (diff) |
make it possible to set another title for the main page
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index bbca958..13eb8ff 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ <h1>{{ .Title | markdownify }}</h1> {{ .Content }} -<h2>My Latest Job</h2> +<h2>{{ .Site.Params.latestPublishHeader | default "My Latest Job" }}</h2> {{ $pages := where site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ range first 1 $pages }} {{ if in .Site.Params.mainSections "portfolio" }} |