blog/themes/chosto/layouts/partials/header.html

18 lines
539 B
HTML
Raw Normal View History

2021-05-18 16:22:28 +02:00
<header>
2021-05-21 14:53:35 +02:00
<section class="hero is-primary is-medium">
<div class="hero-body has-text-centered">
<p class="title">{{ .Title }}</p>
{{ with .Params.subtitle }}
<p class="subtitle">{{ . }}</p>
{{ end }}
2021-05-21 23:50:10 +02:00
{{ with .Params.categories }}
<div class="tags colums is-centered is-rounded">
{{ range . }}
<span class="tag is-large mx-2"><a href="{{ "categories" | absURL }}/{{ . | urlize }}">{{ . }}</a></span>
{{ end }}
</div>
{{ end }}
2021-05-21 14:53:35 +02:00
</div>
</section>
2021-05-18 16:22:28 +02:00
</header>