bglug.it/layouts/partials/homepage/blocks/important-warning.html
paspo a6ecd29fc2
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 55s
css sembra ok
2024-09-12 21:15:43 +02:00

14 lines
410 B
HTML

{{- if .item.enabled -}}
<section id="importantwarning">
<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 -}}