diff options
| author | eltrac <hi@eltr.ac> | 2026-04-19 00:00:05 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-19 00:00:05 +0800 |
| commit | 0c2db4ac5cdf5496f9b00a4825c5db566b32698c (patch) | |
| tree | 79d6a739c62ab8b94b3e1f74d55dfafc6c1bfb61 | |
| parent | 939b37ed135d3fc7dbb1849ceebe398f86d233bb (diff) | |
feat(comp/music): add lucida and NeoDB
| -rw-r--r-- | i18n/en.toml | 2 | ||||
| -rw-r--r-- | i18n/zh.toml | 2 | ||||
| -rw-r--r-- | layouts/_shortcodes/music.html | 2 | ||||
| -rw-r--r-- | static/icons/music/lucida.png | bin | 0 -> 41882 bytes | |||
| -rw-r--r-- | static/icons/music/neodb.png | bin | 0 -> 7193 bytes |
5 files changed, 5 insertions, 1 deletions
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 := . }} <div class="flex flex-col md:flex-row md:justify-between md:items-center gap-2"> diff --git a/static/icons/music/lucida.png b/static/icons/music/lucida.png Binary files differnew file mode 100644 index 0000000..a30e378 --- /dev/null +++ b/static/icons/music/lucida.png diff --git a/static/icons/music/neodb.png b/static/icons/music/neodb.png Binary files differnew file mode 100644 index 0000000..103c6a6 --- /dev/null +++ b/static/icons/music/neodb.png |
