1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
2018-08-15 13:25:28 -07:00

11 lines
319 B
HTML

<!-- Alert -->
{{- if .Get "title" -}}
<div class="panel panel-primary panel-info">
{{ with .Get "title" }}<div class="panel-heading">{{htmlUnescape .}}</div>{{end}}
<div class="panel-body">{{.Inner}}</div>
</div>
{{- else -}}
<div class="alert alert-info" role="alert">{{.Inner}}</div>
{{- end -}}
<!-- Alert -->