Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sections/hero/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sections/hero/index.html b/layouts/partials/sections/hero/index.html
index ebb34a9..c915674 100644
--- a/layouts/partials/sections/hero/index.html
+++ b/layouts/partials/sections/hero/index.html
@@ -18,7 +18,7 @@
<div class="row">
<div class="col-auto h-100">
{{ 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 }}
</a>
{{ end }}