Added option to download the resume.pdf

This commit is contained in:
Oscar Lopez
2022-08-17 17:24:03 -05:00
parent a177362851
commit 55d38a0ea3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -108,6 +108,7 @@ params:
enable: true enable: true
name: "Resume" name: "Resume"
url: "#" url: "#"
download: true
socialLinks: socialLinks:
fontAwesomeIcons: fontAwesomeIcons:
- icon: fab fa-github - icon: fab fa-github
+1 -1
View File
@@ -18,7 +18,7 @@
<div class="row"> <div class="row">
<div class="col-auto h-100"> <div class="col-auto h-100">
{{ if .Site.Params.hero.button.enable }} {{ if .Site.Params.hero.button.enable }}
<a href="{{ .Site.Params.hero.button.url }}" class="btn"> <a href="{{ .Site.Params.hero.button.url }}" class="btn" {{ cond .Site.Params.hero.button.download "download" "" }}>
{{ .Site.Params.hero.button.name }} {{ .Site.Params.hero.button.name }}
</a> </a>
{{ end }} {{ end }}