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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 41 additions and 16 deletions

View file

@ -4,10 +4,13 @@
{{ end }}
<div class="container-fluid anchor pb-5 education-section">
{{ if not (.section.hideTitle) }}
{{ if not (.section.hideTitle) }}
<h1 class="text-center">
<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">
<table class="education-info-table">
@ -107,4 +110,4 @@
</tbody>
</table>
</div>
</div>
</div>