Loading layouts/shortcodes/alert.html +11 −3 Original line number Diff line number Diff line <div class="alert alert-warning d-flex" role="alert"> <div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div> <div class="w-100">{{ with .Get "text" }}{{ . | safeHTML }}{{ end }}</div> {{ with .Get "text"}} <div class="w-100">{{ . | safeHTML }} </div> {{ else }} {{ with .Inner}} <div class="w-100"> {{ . | markdownify}}</div> {{ else }} {{ errorf "No valid text variable or Inner content given"}} {{ end }} {{ end}} </div> Loading
layouts/shortcodes/alert.html +11 −3 Original line number Diff line number Diff line <div class="alert alert-warning d-flex" role="alert"> <div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div> <div class="w-100">{{ with .Get "text" }}{{ . | safeHTML }}{{ end }}</div> {{ with .Get "text"}} <div class="w-100">{{ . | safeHTML }} </div> {{ else }} {{ with .Inner}} <div class="w-100"> {{ . | markdownify}}</div> {{ else }} {{ errorf "No valid text variable or Inner content given"}} {{ end }} {{ end}} </div>