10 lines
289 B
HTML
10 lines
289 B
HTML
{{ if and (eq .Type "alert") (eq .AlertType "todo") -}}
|
|
<div style="background-color: tomato; color: white; padding: 10px;">
|
|
<em>TODO: </em>{{- .Text | plainify -}}
|
|
</div>
|
|
{{- else -}}
|
|
<blockquote {{- with .Attributes.id }} id="{{ . }}"{{ end }}>
|
|
{{ .Text -}}
|
|
</blockquote>
|
|
{{- end }}
|