From 7b91c3dd2a00a462b27808df5a852744f3b0d5f9 Mon Sep 17 00:00:00 2001 From: trwnh Date: Fri, 15 May 2020 06:46:15 -0500 Subject: [PATCH 1/2] Fix site title head.html calls for site.params.title, which is in the wrong place by default --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 11a8a2e5..6a823fbd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,7 +2,6 @@ baseurl = "http://example.org/" languageCode = "en-us" -title = "John Doe Resume" theme = "hugo-orbit-theme" googleAnalytics = "UA-XXXXXXX-Y" @@ -16,6 +15,7 @@ disable404 = true # Meta description = "Hugo Responsive Resume/CV Theme for Developers" author = "Pavel Kanyshev" + title = "John Doe Resume" # Theme styles From 9b297355e281f2ffc8c985b5ed0abb7f58c2e341 Mon Sep 17 00:00:00 2001 From: trwnh Date: Fri, 15 May 2020 07:08:32 -0500 Subject: [PATCH 2/2] actually use summary title from config --- layouts/partials/summary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html index 41f13517..9b3f2720 100644 --- a/layouts/partials/summary.html +++ b/layouts/partials/summary.html @@ -1,5 +1,5 @@ - {{ i18n "summary" }} + {{ .Site.Params.summary.title }} {{ with .Site.Params.summary.summary }}{{ . | markdownify }}{{ end }}
{{ with .Site.Params.summary.summary }}{{ . | markdownify }}{{ end }}