Hide "My Resume" button in case the information is missing in config

Hide "My Resume" button in case the information is missing in config
This commit is contained in:
Jean-Baptiste Le Duigou 2020-06-23 21:50:19 +02:00 committed by GitHub
parent 82bf748cc1
commit 1b99e81671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,11 @@
{{ end }}
</ul>
</div>
{{ if .Site.Data.about.resume }}
<a href="{{ .Site.Data.about.resume }}" target="#"
><button class="btn btn-dark">My Resume</button></a
>
{{ end }}
</div>
<!-- soft skills circular-progressbar -->
<div class="col-md-6 pt-5 pl-md-4 pl-sm-3 pt-md-0">