Update experiences.html

fixed display property when hidden
This commit is contained in:
Jan 2022-01-19 16:30:29 +01:00 committed by GitHub
parent aa7403a567
commit 72fb58b0bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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">