Replace macro with function for ASE playlist

This commit is contained in:
Leilukin 2025-05-04 21:54:34 +08:00
parent cd43ecfbb6
commit 21698cd729

View File

@ -7,14 +7,14 @@ eleventyNavigation:
--- ---
## My Dear Summer Lover ## My Dear Summer Lover
{% from "asummersend/myplaylist.html" import myASEPlaylist %} {{ import { myASEPlaylist } from "components/aseplaylist.vto" }}
{{ myASEPlaylist("A fanmix for the visual novel") }} {{ myASEPlaylist("A fanmix for the visual novel") }}
## Mandopop LGBTQ+ Anthem [華語流行音樂同志國歌]{lang="zh"} ## Mandopop LGBTQ+ Anthem [華語流行音樂同志國歌]{lang="zh"}
{% imgFigure "/assets/projects/playlists/Mandopop-LGBTQ+-Anthem-Cover.avif", "Cover of the Mandopop LGBTQ+ Anthem playlist" %} {{ imgFigure "/assets/projects/playlists/Mandopop-LGBTQ+-Anthem-Cover.avif", "Cover of the Mandopop LGBTQ+ Anthem playlist" }}
[Image description: A progress pride flag, with the Traditional Chinese words, [同志國歌]{lang="zh"}, meaning queer anthem on top.] [Image description: A progress pride flag, with the Traditional Chinese words, [同志國歌]{lang="zh"}, meaning queer anthem on top.]
{% endimgFigure %} {{ /imgFigure }}
A collection of Mandarin queer anthems. A collection of Mandarin queer anthems.