hint.html 412 B

123456
  1. <div class="hint hint-{{ with .Get "style" }}{{.}}{{ else }}info{{ end }}">
  2. <div class="hint-icon"><i class="fa fa-{{ if (eq (.Get "style") "warning") }}exclamation-circle{{ end }}{{ if (eq (.Get "style") "success") }}check-circle{{ end }}{{ if (eq (.Get "style") "info") }}info-circle{{ end }}{{ if (eq (.Get "style") "danger") }}exclamation-triangle{{ end }}"></i></div>
  3. {{ .Inner | markdownify }}
  4. </div>