From fdfdb87641c471a770e005f98c78d355b5e60fbc Mon Sep 17 00:00:00 2001 From: eltrac Date: Sat, 4 Apr 2026 14:23:48 +0800 Subject: feat(shortcode/music): add platform "TIDAL" --- i18n/en.toml | 1 + i18n/zh.toml | 1 + layouts/_shortcodes/music.html | 2 +- static/icons/music/tidal.png | Bin 0 -> 587 bytes 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 static/icons/music/tidal.png 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 := . }}
diff --git a/static/icons/music/tidal.png b/static/icons/music/tidal.png new file mode 100644 index 00000000..41cf7d61 Binary files /dev/null and b/static/icons/music/tidal.png differ -- cgit v1.2.3