11 lines
272 B
HTML
11 lines
272 B
HTML
{{- /* Check if this is a GitHub-style alert */ -}}
|
|
{{- if eq .Type "alert" -}}
|
|
<div class="md-alert md-alert-{{ .AlertType }}">
|
|
{{ .Text | safeHTML }}
|
|
</div>
|
|
{{- else -}}
|
|
<blockquote class="md-blockquote">
|
|
{{ .Text | safeHTML }}
|
|
</blockquote>
|
|
{{- end -}}
|