mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
10 lines
495 B
HTML
10 lines
495 B
HTML
|
{{ if .Site.Params.alertDismissable -}}
|
||
|
<div id="announcement" data-id="global-alert-{{ md5 .Site.Params.alertText }}" class="alert alert-primary alert-dismissible fade show text-lg-center" role="alert">
|
||
|
{{ .Site.Params.alertText | safeHTML }}
|
||
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
</div>
|
||
|
{{ else -}}
|
||
|
<div class="alert alert-primary text-lg-center" role="alert">
|
||
|
{{ .Site.Params.alertText | safeHTML }}
|
||
|
</div>
|
||
|
{{ end -}}
|