diff --git a/CHANGESFROMUPSTREAM.adoc b/CHANGESFROMUPSTREAM.adoc index de64000..18c846c 100644 --- a/CHANGESFROMUPSTREAM.adoc +++ b/CHANGESFROMUPSTREAM.adoc @@ -1,3 +1,4 @@ = Changes compared to upstream gangjun06/SimpleIntro -* Projects have a new `imageAlt` field that defines the alt-text for the image. \ No newline at end of file +* Projects have a new `imageAlt` field that defines the alt-text for the image. +* Header names can be changed by changing the `headers.aboutMe`, `headers.projects` and `headers.skills` site parameters. \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e69de29..86163d9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -0,0 +1,7 @@ + + diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 46ac5f1..660ef80 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -30,7 +30,7 @@
- {{ partial "home_title" (dict "title" "About Me") }} + {{ partial "home_title" (dict "title" (default "About Me" $.Site.Params.headers.aboutMe) ) }}
{{ range $data.about.link }} {{end}} @@ -52,7 +52,7 @@
- {{ partial "home_title" (dict "title" "Skills") }} + {{ partial "home_title" (dict "title" (default "Skills" $.Site.Params.headers.skills)) }}
{{if $data.skills.list}} @@ -87,7 +87,7 @@
- {{ partial "home_title" (dict "title" "Projects") }} + {{ partial "home_title" (dict "title" (default "Projects" $.Site.Params.headers.projects)) }}
{{if $data.skills.list}}