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

alert.html « shortcodes « layouts - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e1c417bd37bc88af8a8c0b14047785ee9b206a7 (plain)
1
2
3
4
5
6
7
{{ $_hugo_config := `{ "version": 1 }` }}

<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
{{- with .Get "theme" -}}{{.}}{{- else -}}info{{- end -}}
{{- else -}}
	{{- with .Get 0 -}}{{.}}{{- else -}}info{{- end -}}
{{- end -}} " role="alert">{{- .Inner | safeHTML -}}</div>