1
0
forked from Git/hugo-story
agr.asia/layouts/partials/banner.html

14 lines
611 B
HTML
Raw Normal View History

2021-01-31 01:20:41 +01:00
<!-- Banner -->
<section class="banner {{ .style }}">
<div class="content">
{{ with .title }}<h1>{{ . }}</h1>{{ end }}
{{ with .subtitle }}<p class="major">{{ . | safeHTML }}</p>{{ end }}
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
{{ with .button }}<ul class="actions stacked">
2023-07-01 23:51:20 +02:00
<li><a href="{{ .link }}" class="button default large wide smooth-scroll-middle">{{ .label }}</a></li>
2021-01-31 01:20:41 +01:00
</ul>{{ end }}
</div>
{{ with .image }}<div class="image">
2024-04-19 18:09:51 +02:00
<img src="{{.}}" alt="AGR - Actionable Risk Intelligence"/>
2021-01-31 01:20:41 +01:00
</div>{{end}}
2024-04-19 18:09:51 +02:00
</section>