This commit is contained in:
Christoph Cullmann 2025-07-19 21:46:51 +02:00
parent 6e613d7b15
commit 5992869fd3
No known key found for this signature in database
93 changed files with 9485 additions and 1277 deletions

View file

@ -0,0 +1,24 @@
{{ $type := .Get "type" }}
<div class='callout callout-{{ $type }}' style='{{ if eq $type "custom" }}{{ .Get "style" | safeCSS }}{{ end }}'>
<div class="callout-inner">
{{ if eq $type "alert" }}
🚨 <u>Alert</u>
<br />
{{ .Get "text" }}
{{ else if eq $type "custom" }}
{{ .Get "emoji" }} <u>{{ .Get "title" }}</u>
<br />
{{ .Get "text" }}
{{ else if eq $type "tip" }}
🔎 <u>Tip</u>
<br />
{{ .Get "text" }}
{{ else if eq $type "warning" }}
⚠️ <u>Warning</u>
<br />
{{ .Get "text" }}
{{ else}}
💡 {{ .Get "text" }}
{{ end }}
</div>
</div>