Support alerts (notes, warnings, rationales)

This commit is contained in:
Will 2021-01-20 12:34:49 -08:00
parent ab64bda76d
commit 338434bfcd
No known key found for this signature in database
GPG key ID: 385872BB265E8BF8
22 changed files with 194 additions and 138 deletions

View file

@ -0,0 +1 @@
{{ partial "alert" (dict "type" "note" "content" .Inner) }}

View file

@ -0,0 +1 @@
{{ partial "alert" (dict "type" "rationale" "content" .Inner) }}

View file

@ -0,0 +1 @@
{{ partial "alert" (dict "type" "warning" "content" .Inner) }}