From c17cd5ec11a53001c21cf80089f433232eaccc5c Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 7 May 2024 11:55:08 +0800 Subject: [PATCH] Use Nunjucks macro to render my A Summer's End fanmix --- _site/feed.xml | 2 +- .../shrines/asummersend/playlists/index.html | 2 +- src/_includes/asummersend/myplaylist.njk | 34 ++++++++++++++++++ src/projects/playlists.md | 36 ++----------------- src/shrines/asummersend/playlists.md | 35 ++---------------- 5 files changed, 42 insertions(+), 67 deletions(-) create mode 100644 src/_includes/asummersend/myplaylist.njk diff --git a/_site/feed.xml b/_site/feed.xml index 6048ba6d..af1c9798 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-05-07T03:32:28Z + 2024-05-07T03:52:17Z https://leilukin.neocities.org Leilukin diff --git a/_site/shrines/asummersend/playlists/index.html b/_site/shrines/asummersend/playlists/index.html index 2b94a4f4..7f000cbf 100644 --- a/_site/shrines/asummersend/playlists/index.html +++ b/_site/shrines/asummersend/playlists/index.html @@ -383,7 +383,7 @@ [Image description: Sam and Michelle from A Summer’s End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.] -

My fanmix for A Summer’s End — Hong Kong 1986, dedicated to Sam and Michelle’s love story.

+

My fanmix for A Summer’s End — Hong Kong 1986, dedicated to Sam and Michelle’s love story.

This mix contains mostly Cantonese and English songs, with one Mandarin song. Majority of these songs were performed by Hong Kong artists and released in the 80s, because A Summer’s End took place in Hong Kong and in the 80s.

I have carefully selected and arranged these tracks, so the lyrics would reflect Sam and Michelle’s relationship development throughout A Summer’s End. Therefore, the content of this mix could be considered spoilers if you have not played the visual novel.

Since Oracle and Bone has cited Anita Mui as a major inspiration for them and this visual novel, I have also included multiple songs performed by Anita Mui in this mix. Because A Summer’s End is a lesbian story, when I was choosing which songs to include in this mix, I also prioritize songs that were performed by women artists.

diff --git a/src/_includes/asummersend/myplaylist.njk b/src/_includes/asummersend/myplaylist.njk new file mode 100644 index 00000000..9b6eb15c --- /dev/null +++ b/src/_includes/asummersend/myplaylist.njk @@ -0,0 +1,34 @@ +{% macro myASEPlaylist(intro) %} +
+ Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix' +
+ [Image description: Sam and Michelle from A Summer’s End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.] +
+
+ +{{ intro }} [{% cite "A Summer’s End — Hong Kong 1986" %}](https://www.asummersend.com/home){target="_blank"}, dedicated to Sam and Michelle’s love story. + +This mix contains mostly Cantonese and English songs, with one Mandarin song. Majority of these songs were performed by Hong Kong artists and released in the 80s, because A Summer’s End took place in Hong Kong and in the 80s. + +I have carefully selected and arranged these tracks, so the lyrics would reflect Sam and Michelle’s relationship development throughout {% cite "A Summer’s End" %}. Therefore, the content of this mix could be considered spoilers if you have not played the visual novel. + +Since Oracle and Bone has cited Anita Mui as a major inspiration for them and this visual novel, I have also included multiple songs performed by Anita Mui in this mix. Because A Summer’s End is a lesbian story, when I was choosing which songs to include in this mix, I also prioritize songs that were performed by women artists. + +Tracklist: +1. 輕輕嘆 (Sigh Softly) — Deanie Ip +2. 愛我便說愛我吧 (Just Say You Love Me) — Anita Mui +3. 夏日戀人 (Summer Lover) — Anita Mui +4. 星空下的戀人 (Lovers Under the Stars) — Shirley Kwan +5. I Want Your Love — CHIC +6. 激情 (Passion) — Sandy Lam +7. When Will I See You Again — Teresa Carpio +8. 愛你、想你 (Love You, Miss You) — Anita Mui +9. Within You’ll Remain — Julia Hsu +10. I Want to Know What Love Is — Tina Arena +11. Touch — Anita Mui +12. 親密愛人 (Intimate Lover) — Anita Mui + +[Listen on Spotify](https://open.spotify.com/playlist/3SIV7VjSKhspYwugVIQjug){target="_blank"}{.link-btn} + + +{% endmacro %} \ No newline at end of file diff --git a/src/projects/playlists.md b/src/projects/playlists.md index f3a98991..f7f7eb8e 100644 --- a/src/projects/playlists.md +++ b/src/projects/playlists.md @@ -3,44 +3,14 @@ layout: main/content title: My Music Playlists desc: Music playlists that I have created. toc: true +templateEngineOverride: njk, md eleventyNavigation: order: 3 --- - ## My Dear Summer Lover -
- Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix' -
- [Image description: Sam and Michelle from A Summer’s End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.] -
-
- -A fanmix for the visual novel [{% cite "A Summer’s End — Hong Kong 1986" %}](https://www.asummersend.com/home){target="_blank"}, dedicated to Sam and Michelle’s love story. - -This mix contains mostly Cantonese and English songs, with one Mandarin song. Majority of these songs were performed by Hong Kong artists and released in the 80s, because A Summer’s End took place in Hong Kong and in the 80s. - -I have carefully selected and arranged these tracks, so the lyrics would reflect Sam and Michelle’s relationship development throughout {% cite "A Summer’s End" %}. Therefore, the content of this mix could be considered spoilers if you have not played the visual novel. - -Since Oracle and Bone has cited Anita Mui as a major inspiration for them and this visual novel, I have also included multiple songs performed by Anita Mui in this mix. Because A Summer’s End is a lesbian story, when I was choosing which songs to include in this mix, I also prioritize songs that were performed by women artists. - -Tracklist: -1. 輕輕嘆 (Sigh Softly) — Deanie Ip -2. 愛我便說愛我吧 (Just Say You Love Me) — Anita Mui -3. 夏日戀人 (Summer Lover) — Anita Mui -4. 星空下的戀人 (Lovers Under the Stars) — Shirley Kwan -5. I Want Your Love — CHIC -6. 激情 (Passion) — Sandy Lam -7. When Will I See You Again — Teresa Carpio -8. 愛你、想你 (Love You, Miss You) — Anita Mui -9. Within You’ll Remain — Julia Hsu -10. I Want to Know What Love Is — Tina Arena -11. Touch — Anita Mui -12. 親密愛人 (Intimate Lover) — Anita Mui - -[Listen on Spotify](https://open.spotify.com/playlist/3SIV7VjSKhspYwugVIQjug){target="_blank"}{.link-btn} - - +{% from "asummersend/myplaylist.njk" import myASEPlaylist %} +{{ myASEPlaylist("A fanmix for the visual novel") }} ## Mandopop LGBTQ+ Anthem 華語流行音樂同志國歌 diff --git a/src/shrines/asummersend/playlists.md b/src/shrines/asummersend/playlists.md index 47390ee0..219601ca 100644 --- a/src/shrines/asummersend/playlists.md +++ b/src/shrines/asummersend/playlists.md @@ -5,6 +5,7 @@ pageTitle: A Summer’s End — Hong Kong 1986 Playlists desc: List of A Summer’s End — Hong Kong 1986 playlists. tags: a summers end shrine page toc: true +templateEngineOverride: njk, md eleventyNavigation: key: Playlists parent: A Summer’s End Shrine @@ -44,35 +45,5 @@ Oracle and Bone compiled this playlist as a tribute to Anita Mui, who was a majo ## My Dear Summer Lover -
- Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix' -
- [Image description: Sam and Michelle from A Summer’s End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.] -
-
- -My fanmix for {% cite "A Summer’s End — Hong Kong 1986" %}, dedicated to Sam and Michelle’s love story. - -This mix contains mostly Cantonese and English songs, with one Mandarin song. Majority of these songs were performed by Hong Kong artists and released in the 80s, because A Summer’s End took place in Hong Kong and in the 80s. - -I have carefully selected and arranged these tracks, so the lyrics would reflect Sam and Michelle’s relationship development throughout {% cite "A Summer’s End" %}. Therefore, the content of this mix could be considered spoilers if you have not played the visual novel. - -Since Oracle and Bone has cited Anita Mui as a major inspiration for them and this visual novel, I have also included multiple songs performed by Anita Mui in this mix. Because A Summer’s End is a lesbian story, when I was choosing which songs to include in this mix, I also prioritize songs that were performed by women artists. - -Tracklist: -1. 輕輕嘆 (Sigh Softly) — Deanie Ip -2. 愛我便說愛我吧 (Just Say You Love Me) — Anita Mui -3. 夏日戀人 (Summer Lover) — Anita Mui -4. 星空下的戀人 (Lovers Under the Stars) — Shirley Kwan -5. I Want Your Love — CHIC -6. 激情 (Passion) — Sandy Lam -7. When Will I See You Again — Teresa Carpio -8. 愛你、想你 (Love You, Miss You) — Anita Mui -9. Within You’ll Remain — Julia Hsu -10. I Want to Know What Love Is — Tina Arena -11. Touch — Anita Mui -12. 親密愛人 (Intimate Lover) — Anita Mui - -[Listen on Spotify](https://open.spotify.com/playlist/3SIV7VjSKhspYwugVIQjug){target="_blank"}{.link-btn} - - +{% from "asummersend/myplaylist.njk" import myASEPlaylist %} +{{ myASEPlaylist("My fanmix for") }}