summaryrefslogtreecommitdiff
path: root/layouts/_markup/render-blockquote.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_markup/render-blockquote.html')
-rw-r--r--layouts/_markup/render-blockquote.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/layouts/_markup/render-blockquote.html b/layouts/_markup/render-blockquote.html
deleted file mode 100644
index 79f57a85..00000000
--- a/layouts/_markup/render-blockquote.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{{ $emojis := dict
- "caution" "🚨"
- "important" "â˜ī¸"
- "note" "â„šī¸"
- "tip" "💡"
- "warning" "âš ī¸"
- "announcement" "đŸ“Ŗ"
-}}
-
-{{ if eq .Type "alert" }}
- <blockquote class="rounded-1 leading-[1.75] mx-0 px-5
- flex gap-3 my-2 alert-{{ .AlertType }}"
- style="background-color: oklch(from var(--block-background-color) l c h / calc(alpha - 0.5))"
- >
- <div class="py-5">
- {{ with .AlertTitle }}
- {{.}}
- {{ else }}
- {{ index $emojis .AlertType }}
- {{ end }}
- </div>
- <div>
- {{ .Text }}
- </div>
- </blockquote>
-{{ else }}
- <blockquote class="text-secondary p-0 m-0 ml-[1em]">
- {{ .Text }}
- </blockquote>
-{{ end }}