Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bjacquemet/personal-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Fink <fink@uni-bremen.de>2020-03-25 23:33:08 +0300
committerJannis Fink <fink@uni-bremen.de>2020-03-25 23:33:08 +0300
commit29a219f597a02d6421193ffce6b46180bd900fb1 (patch)
treeb4767b958a847d9c0a383ade19751cccdbfac8df
parentca2a98e7c271208b8f35f4a4c5961531716c11ec (diff)
make it possible to set another title for the main page
-rw-r--r--layouts/index.html2
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" }}