From 0c2db4ac5cdf5496f9b00a4825c5db566b32698c Mon Sep 17 00:00:00 2001 From: eltrac Date: Sun, 19 Apr 2026 00:00:05 +0800 Subject: feat(comp/music): add lucida and NeoDB --- i18n/en.toml | 2 ++ i18n/zh.toml | 2 ++ layouts/_shortcodes/music.html | 2 +- static/icons/music/lucida.png | Bin 0 -> 41882 bytes static/icons/music/neodb.png | Bin 0 -> 7193 bytes 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 static/icons/music/lucida.png create mode 100644 static/icons/music/neodb.png diff --git a/i18n/en.toml b/i18n/en.toml index 843744b..144fde4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -86,5 +86,7 @@ bandcamp = "Bandcamp" apple = "Apple Music" spotify = "Spotify" tidal = "TIDAL" +neodb = "NeoDB" +lucida = "Lucida" album = "ALBUM" openIn = "Open in {{ . }}" diff --git a/i18n/zh.toml b/i18n/zh.toml index 54af904..122c18b 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -88,5 +88,7 @@ bandcamp = "Bandcamp" apple = "Apple Music" spotify = "Spotify" tidal = "TIDAL" +neodb = "NeoDB" +lucida = "Lucida" album = "专辑" openIn = "在 {{ . }} 中打开" diff --git a/layouts/_shortcodes/music.html b/layouts/_shortcodes/music.html index ab61c4d..81e690d 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" "tidal" }} +{{ $platforms := slice "bandcamp" "apple" "spotify" "netease" "tidal" "neodb" "lucida" }} {{ $page := . }}
diff --git a/static/icons/music/lucida.png b/static/icons/music/lucida.png new file mode 100644 index 0000000..a30e378 Binary files /dev/null and b/static/icons/music/lucida.png differ diff --git a/static/icons/music/neodb.png b/static/icons/music/neodb.png new file mode 100644 index 0000000..103c6a6 Binary files /dev/null and b/static/icons/music/neodb.png differ -- cgit v1.2.3