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

info.html « shortcodes « layouts - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa5cd341ca76bdcb16c8824ed0f72415a0a9f77f (plain)
1
2
3
4
5
6
7
8
9
10
<!-- 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 -->