From 4ebbb523a5a8352a01a43c72e2bfe25c3649a9b4 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 19 Jan 2022 19:32:28 +0100 Subject: [PATCH] fix: navigation with hidden title (#505) * Update accomplishments.html fix display property when hidden * Update achievements.html fixed display property when hidden * Update education-alt.html fixed display property when hidden * Update education.html fixed display property when hidden * Update experiences.html fixed display property when hidden * Update projects.html fixed display property when hidden * Update recent-posts.html fixed display property when hidden * Update skills.html fixed display property when hidden --- layouts/partials/sections/accomplishments.html | 7 +++++-- layouts/partials/sections/achievements.html | 5 ++++- layouts/partials/sections/education-alt.html | 12 ++++++++---- layouts/partials/sections/education.html | 9 ++++++--- layouts/partials/sections/experiences.html | 8 +++++--- layouts/partials/sections/projects.html | 6 +++++- layouts/partials/sections/recent-posts.html | 5 ++++- layouts/partials/sections/skills.html | 5 ++++- 8 files changed, 41 insertions(+), 16 deletions(-) diff --git a/layouts/partials/sections/accomplishments.html b/layouts/partials/sections/accomplishments.html index 8dee8a6..77b8d99 100644 --- a/layouts/partials/sections/accomplishments.html +++ b/layouts/partials/sections/accomplishments.html @@ -6,9 +6,12 @@
{{ if not (.section.hideTitle) }}

- {{ .section.name }}

+ {{ .section.name }} + {{ else }} +

+ {{ .section.name }}

{{ end }} - +
{{ range .accomplishments }} diff --git a/layouts/partials/sections/achievements.html b/layouts/partials/sections/achievements.html index 927fdc8..23957e7 100644 --- a/layouts/partials/sections/achievements.html +++ b/layouts/partials/sections/achievements.html @@ -6,7 +6,10 @@
{{ if not (.section.hideTitle) }}

- {{ .section.name }}

+ {{ .section.name }} + {{ else }} +

+ {{ .section.name }}

{{ end }}
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html index ea79579..a547cb2 100644 --- a/layouts/partials/sections/education.html +++ b/layouts/partials/sections/education.html @@ -4,10 +4,13 @@ {{ end }}
- {{ if not (.section.hideTitle) }} + {{ if not (.section.hideTitle) }}

{{ .section.name }}

- {{ end }} + {{ else }} +

+ {{ .section.name }}

+ {{ end }}
@@ -107,4 +110,4 @@
-
\ No newline at end of file +
diff --git a/layouts/partials/sections/experiences.html b/layouts/partials/sections/experiences.html index e7e2508..eafe926 100644 --- a/layouts/partials/sections/experiences.html +++ b/layouts/partials/sections/experiences.html @@ -6,8 +6,10 @@
{{ if not (.section.hideTitle) }}

- {{ .section.name }} -

+ {{ .section.name }} + {{ else }} +

+ {{ .section.name }}

{{ end }}
@@ -29,4 +31,4 @@ {{ end }} {{ end }}
-
\ No newline at end of file +
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html index dd3ec39..c658e2c 100644 --- a/layouts/partials/sections/projects.html +++ b/layouts/partials/sections/projects.html @@ -5,7 +5,11 @@
{{ if not (.section.hideTitle) }} -

{{ .section.name }}

+

+ {{ .section.name }}

+ {{ else }} +

+ {{ .section.name }}

{{ end }}
diff --git a/layouts/partials/sections/recent-posts.html b/layouts/partials/sections/recent-posts.html index 7bc1ea9..d68a0d9 100644 --- a/layouts/partials/sections/recent-posts.html +++ b/layouts/partials/sections/recent-posts.html @@ -12,7 +12,10 @@
{{ if not (.section.hideTitle) }}

- {{ .section.name }}

+ {{ .section.name }} + {{ else }} +

+ {{ .section.name }}

{{ end }}
diff --git a/layouts/partials/sections/skills.html b/layouts/partials/sections/skills.html index 3a355a4..ab837dc 100644 --- a/layouts/partials/sections/skills.html +++ b/layouts/partials/sections/skills.html @@ -6,7 +6,10 @@
{{ if not (.section.hideTitle) }}

- {{ .section.name }}

+ {{ .section.name }} + {{ else }} +

+ {{ .section.name }}

{{ end }}