publiccode.si/site/layouts/partials/start.html

20 lines
678 B
HTML
Raw Normal View History

2017-03-16 00:00:56 +01:00
{{ "<!-- HEADER -->" | safeHTML }}
<header>
<div class="header-content">
<div class="header-content-inner">
2017-03-20 13:37:30 +01:00
{{ with .Site.Params.start.slogan }}
2017-03-16 00:00:56 +01:00
<h1>{{ . | markdownify }}</h1>
{{ end }}
2017-03-20 13:37:30 +01:00
{{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }}
2017-03-16 00:00:56 +01:00
<hr>
{{ end }}
2017-03-20 13:37:30 +01:00
{{ with .Site.Params.start.subtitle }}
2017-03-16 00:00:56 +01:00
<p>{{ . | markdownify }}</p>
{{ end }}
2017-03-20 13:37:30 +01:00
{{ with .Site.Params.start.buttonText }}
2017-03-16 00:00:56 +01:00
<a href="#about" class="btn btn-primary btn-xl page-scroll">{{ . }}</a>
{{ end }}
</div>
</div>
</header>