diff options
| author | eltrac <hi@eltr.ac> | 2026-04-04 14:23:48 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-04 14:23:48 +0800 |
| commit | fdfdb87641c471a770e005f98c78d355b5e60fbc (patch) | |
| tree | 8c5d88321ab5c06143c441f50c111db35c1dc01b | |
| parent | 1d6ee169c6e456dc25fe21ed43cf271249f38773 (diff) | |
feat(shortcode/music): add platform "TIDAL"
| -rw-r--r-- | i18n/en.toml | 1 | ||||
| -rw-r--r-- | i18n/zh.toml | 1 | ||||
| -rw-r--r-- | layouts/_shortcodes/music.html | 2 | ||||
| -rw-r--r-- | static/icons/music/tidal.png | bin | 0 -> 587 bytes |
4 files changed, 3 insertions, 1 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 285bfa2b..15acc17c 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -77,5 +77,6 @@ netease = "Netease Music" bandcamp = "Bandcamp" apple = "Apple Music" spotify = "Spotify" +tidal = "TIDAL" album = "ALBUM" openIn = "Open in {{ . }}" diff --git a/i18n/zh.toml b/i18n/zh.toml index 042faf04..2179bd87 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -85,5 +85,6 @@ netease = "网易云音乐" bandcamp = "Bandcamp" apple = "Apple Music" spotify = "Spotify" +tidal = "TIDAL" album = "专辑" openIn = "在 {{ . }} 中打开" diff --git a/layouts/_shortcodes/music.html b/layouts/_shortcodes/music.html index c4e260d7..8017566d 100644 --- a/layouts/_shortcodes/music.html +++ b/layouts/_shortcodes/music.html @@ -3,7 +3,7 @@ {{ $artist := .Get "artist" }} {{ $isAlbum := .Get "album" }} -{{ $platforms := slice "bandcamp" "apple" "spotify" "netease" }} +{{ $platforms := slice "bandcamp" "apple" "spotify" "netease" "tidal" }} {{ $page := . }} <div class="flex flex-col md:flex-row md:justify-between md:items-center gap-2"> diff --git a/static/icons/music/tidal.png b/static/icons/music/tidal.png Binary files differnew file mode 100644 index 00000000..41cf7d61 --- /dev/null +++ b/static/icons/music/tidal.png |
