bglug.it/layouts/partials/homepage/blocks/important-warning.html
paspo 9e586f088b
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 46s
prova warning banner alternativo
2024-09-11 21:34:49 +02:00

14 lines
433 B
HTML

{{- if .item.enabled -}}
<section id="importantwarning" class="wrapper style4">
<div class="container">
<header>
<i class="warningicon fa-solid fa-triangle-exclamation"></i>
<h2>{{ .item.contents | markdownify }}</h2>
{{- with .item.link }}
<a href="{{ .url }}" class="button">{{ .title }}</a>
{{- end }}
</header>
</div>
</section>
{{- end -}}