diff options
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r-- | layouts/partials/hero.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html new file mode 100644 index 0000000..1adc574 --- /dev/null +++ b/layouts/partials/hero.html @@ -0,0 +1,12 @@ +{{ "<!-- Hero -->" | safeHTML}} +<section id="header"> + <header class="major 1"> + <h1>{{ with .Site.Params.hero.title }} {{ . | markdownify }} {{ end }}</h1> + <p>{{ with .Site.Params.hero.description }} {{ . | markdownify }} {{ end }}</p> + </header> + <div class="container"> + <ul class="actions"> + <li><a href="#about" class="button special scrolly">{{ with .Site.Params.hero.buttonText }} {{ . | markdownify }} {{ end }}</a></li> + </ul> + </div> +</section> |