mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
b2c60ef898
This marks the launch of the new documentation website.
13 lines
457 B
HTML
13 lines
457 B
HTML
<div class="alert alert-{{ with .Get "context" }}{{.}}{{ else }}doks{{ end }} d-flex" role="alert">
|
|
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div>
|
|
{{ with .Get "text"}}
|
|
<div class="w-100">{{ . | safeHTML }} </div>
|
|
{{ else }}
|
|
{{ with .Inner}}
|
|
<div class="w-100"> {{ . | markdownify}}</div>
|
|
{{ else }}
|
|
{{ errorf "No valid text variable or Inner content given"}}
|
|
{{ end }}
|
|
{{ end}}
|
|
</div>
|