Welcome to mirror list, hosted at ThFree Co, Russian Federation.

warning.html « shortcodes « layouts - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14efaff24c9c005f49fdbaa17fb7622e7b246d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!-- Alert -->


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