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/_shortcodes/link.html | |
| parent | 3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff) | |
chore: move templates out of site repo
Diffstat (limited to 'layouts/_shortcodes/link.html')
| -rw-r--r-- | layouts/_shortcodes/link.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/layouts/_shortcodes/link.html b/layouts/_shortcodes/link.html deleted file mode 100644 index 9f7ea3e5..00000000 --- a/layouts/_shortcodes/link.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ if eq (.Get "type") "podcast" }} -<a href="{{ .Get "link" }}" target="_blank" title="{{ .Get "title" }}" - class="block w-[calc(25%_-_1rem)] rounded-md overflow-hidden box-border p-0" - style="background-color: var(--block-background-color); - color: var(--text-color);text-decoration: none;"> - <img src="{{ .Get "image" }}" class="block m-0!" alt="{{ .Get "title" }}"> -</a> -{{ else }} -<a href="{{ .Get "link" }}" target="_blank" - class="block w-[calc(50%_-_1rem)] rounded-4 box-border px-6" - style="background-color: var(--block-background-color); - color: var(--text-color);text-decoration: none;"> - <h3>{{ .Get "title" }}</h3> -</a> -{{ end }} |
