diff options
| author | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
| commit | 10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch) | |
| tree | 62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/_markup/render-blockquote.html | |
| parent | 3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff) | |
chore: move templates out of site repo
Diffstat (limited to 'layouts/_markup/render-blockquote.html')
| -rw-r--r-- | layouts/_markup/render-blockquote.html | 30 |
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 }} |
