From 3c5cc84ed0d86aca090976b2ff9e2add7fa9c34c Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 3 Sep 2024 23:28:51 -0400 Subject: [PATCH] Revert "Remove extra per-track cover" This reverts commit 1f8db62abf236d96d1d7d41aca9c1bd5f9638230. --- layouts/shortcodes/aplayer.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/shortcodes/aplayer.html b/layouts/shortcodes/aplayer.html index e1e2a83..4c3ec13 100644 --- a/layouts/shortcodes/aplayer.html +++ b/layouts/shortcodes/aplayer.html @@ -76,6 +76,10 @@ artist: "{{ . }}", {{ end }} + {{ with index (split ($.Get "cover") ",") $i }} + cover: "{{ . }}", + {{ end }} + {{ with index (split ($.Get "lrc") ",") $i }} lrc: "{{ . }}" {{ end }}