Added option to download the resume.pdf
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user