diff options
author | Varun Batra <codevarun@gmail.com> | 2018-05-23 18:30:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 18:30:39 +0300 |
commit | 44ae55d3ae880a33efcdc57104887fbfadacdeb0 (patch) | |
tree | d08be7e55a194aaaba2975c53464e33b7cc984b1 | |
parent | f0c3b7921685513570638687a9909119db3ac4c5 (diff) |
Make resume optional
-rw-r--r-- | layouts/partials/hero.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 78fb73d..b04b187 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -106,9 +106,11 @@ </a> {{ end }} </div> + {{ if isset .Site.Params.Hero "resume" }} <a href="{{ .Site.BaseURL }}{{ .Site.Params.Hero.Resume }}" target="blank" class="download-resume" onclick="ga('send', {hitType: 'event',eventCategory: 'CTA',eventAction: 'download'});"> <img style="position: relative;top: 1.8px;padding-right: 6px;" src="svg/dl-resume.svg"> Download Resume</a> + {{ end }} </div> <div class="hero-right"> {{ range $paragraph := .Site.Params.Hero.hero_right }} @@ -116,4 +118,4 @@ {{ end }} </div> </div> -</section>
\ No newline at end of file +</section> |