From 67243b494808a64c317e89d6dd80e36748dd2dd8 Mon Sep 17 00:00:00 2001 From: eltrac Date: Mon, 23 Mar 2026 14:43:55 +0800 Subject: refactor(shortcode/music): reduce classes varaibles --- layouts/_shortcodes/music.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/_shortcodes/music.html b/layouts/_shortcodes/music.html index de144f39..31ec45e8 100644 --- a/layouts/_shortcodes/music.html +++ b/layouts/_shortcodes/music.html @@ -16,8 +16,6 @@ - {{ $aTagClasses := "block rounded-full px-3 md:p-4 bg-neutral-200/50 dark:bg-neutral-600/50 hover:bg-neutral-200 dark:hover:bg-neutral-600 transition-colors no-underline! text-size-xs inline-flex gap-1 items-center" }} - {{ $imageClasses := "block w-3 h-3 md:w-5 md:h-5 m-0!" }}
{{ range $platforms }} {{ $code := . }} @@ -25,14 +23,14 @@ {{ $name := T $langcode }} {{ with $page.Get . }} + loading="lazy" class="block w-3 h-3 md:w-5 md:h-5 m-0!" /> {{ $name }} {{ end }} -- cgit v1.2.3