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

alert.html « shortcodes « layouts - github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 284fad7b7fa95bfa3f846044a4ae0cb4fbbcdf19 (plain)
1
2
3
4
5
6
<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
{{- else -}}
	{{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
{{- end -}} 
" role="alert">{{ .Inner | markdownify }}</div>