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
This commit is contained in:
Jan
2022-01-19 19:32:28 +01:00
committed by GitHub
parent d0a6eb4b28
commit 4ebbb523a5
8 changed files with 41 additions and 16 deletions
@@ -6,9 +6,12 @@
<div class="container-fluid anchor pb-5 accomplishments-section"> <div class="container-fluid anchor pb-5 accomplishments-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1> <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container"> <div class="container">
<div class="row" id="acomplishment-card-holder"> <div class="row" id="acomplishment-card-holder">
{{ range .accomplishments }} {{ range .accomplishments }}
+4 -1
View File
@@ -6,7 +6,10 @@
<div class="container-fluid anchor pb-5 achievements-section"> <div class="container-fluid anchor pb-5 achievements-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1> <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container"> <div class="container">
<div class="row" id="gallery"> <div class="row" id="gallery">
+8 -4
View File
@@ -4,9 +4,13 @@
{{ end }} {{ end }}
<div class="container-fluid anchor pb-5 education-section education-alt" id="{{ $sectionID }}"> <div class="container-fluid anchor pb-5 education-section education-alt" id="{{ $sectionID }}">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center">{{ .section.name }}</h1> <h1 class="text-center">
{{ end }} <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }}
<div class="container"> <div class="container">
<table class="education-info-table"> <table class="education-info-table">
@@ -115,4 +119,4 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
+6 -3
View File
@@ -4,10 +4,13 @@
{{ end }} {{ end }}
<div class="container-fluid anchor pb-5 education-section"> <div class="container-fluid anchor pb-5 education-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1> <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }}
<div class="container"> <div class="container">
<table class="education-info-table"> <table class="education-info-table">
@@ -107,4 +110,4 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
+5 -3
View File
@@ -6,8 +6,10 @@
<div class="container-fluid anchor pb-5 experiences-section"> <div class="container-fluid anchor pb-5 experiences-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }} <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
</h1> {{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container timeline text-justify"> <div class="container timeline text-justify">
@@ -29,4 +31,4 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>
</div> </div>
+5 -1
View File
@@ -5,7 +5,11 @@
<div class="container-fluid anchor pb-5 projects-section" id="{{ $sectionID }}"> <div class="container-fluid anchor pb-5 projects-section" id="{{ $sectionID }}">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center">{{ .section.name }}</h1> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container ml-auto text-center"> <div class="container ml-auto text-center">
<div class="btn-group flex-wrap" role="group" id="project-filter-buttons"> <div class="btn-group flex-wrap" role="group" id="project-filter-buttons">
+4 -1
View File
@@ -12,7 +12,10 @@
<div class="container-fluid anchor pb-5 recent-posts-section"> <div class="container-fluid anchor pb-5 recent-posts-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1> <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container"> <div class="container">
<div class="row" id="recent-post-cards"> <div class="row" id="recent-post-cards">
+4 -1
View File
@@ -6,7 +6,10 @@
<div class="container-fluid anchor pb-5 skills-section"> <div class="container-fluid anchor pb-5 skills-section">
{{ if not (.section.hideTitle) }} {{ if not (.section.hideTitle) }}
<h1 class="text-center"> <h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1> <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }} {{ end }}
<div class="container d-flex-block"> <div class="container d-flex-block">
<div class="row" id="primary-skills"> <div class="row" id="primary-skills">