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

20 lines
678 B
HTML

{{ "<!-- HEADER -->" | safeHTML }}
<header>
<div class="header-content">
<div class="header-content-inner">
{{ with .Site.Params.start.slogan }}
<h1>{{ . | markdownify }}</h1>
{{ end }}
{{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }}
<hr>
{{ end }}
{{ with .Site.Params.start.subtitle }}
<p>{{ . | markdownify }}</p>
{{ end }}
{{ with .Site.Params.start.buttonText }}
<a href="#about" class="btn btn-primary btn-xl page-scroll">{{ . }}</a>
{{ end }}
</div>
</div>
</header>