Use render instead of renderInline to render spoiler accordion
This commit is contained in:
parent
b516425ee2
commit
f6aadf4b8e
|
@ -4,7 +4,7 @@
|
||||||
<subtitle>Leilukin's personal website.</subtitle>
|
<subtitle>Leilukin's personal website.</subtitle>
|
||||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||||
<link href="https://leilukin.neocities.org"/>
|
<link href="https://leilukin.neocities.org"/>
|
||||||
<updated>2024-05-06T19:31:51Z</updated>
|
<updated>2024-05-06T19:51:28Z</updated>
|
||||||
<id>https://leilukin.neocities.org</id>
|
<id>https://leilukin.neocities.org</id>
|
||||||
<author>
|
<author>
|
||||||
<name>Leilukin</name>
|
<name>Leilukin</name>
|
||||||
|
@ -665,8 +665,7 @@
|
||||||
<p>In addition, <cite>Cassette Beasts</cite>' story can get genuinely dark at times, most notably in the cosmic horror presented by the Archangels, the eldritch entities that you need to defeat in boss battles to gather clues about a way out of New Wirral and return home.
|
<p>In addition, <cite>Cassette Beasts</cite>' story can get genuinely dark at times, most notably in the cosmic horror presented by the Archangels, the eldritch entities that you need to defeat in boss battles to gather clues about a way out of New Wirral and return home.
|
||||||
</p><details class="spoiler-accordion">
|
</p><details class="spoiler-accordion">
|
||||||
<summary class="spoiler-accordion__hint">Major Story Spoilers for <cite>Cassette Beasts</cite></summary>
|
<summary class="spoiler-accordion__hint">Major Story Spoilers for <cite>Cassette Beasts</cite></summary>
|
||||||
<div class="spoiler-accordion__spoiler">
|
<div class="spoiler-accordion__spoiler"><p>Towards the end of the main quest, it is revealed that Archangels are <a href="https://en.wikipedia.org/wiki/Egregore">egregores</a> created from humanity's desires and ideas. Aleph, the main antagonist and final boss of the main story, is an Archangel that is an incarnation of conquest, and his goal is to leave New Wirral and cause chaos across reality.</p><p></p>
|
||||||
Towards the end of the main quest, it is revealed that Archangels are <a href="https://en.wikipedia.org/wiki/Egregore">egregores</a> created from humanity's desires and ideas. Aleph, the main antagonist and final boss of the main story, is an Archangel that is an incarnation of conquest, and his goal is to leave New Wirral and cause chaos across reality.<p></p>
|
|
||||||
<p>While <cite>Pokémon</cite> has its own fair share of sinister villains, the threat the main villain of <cite>Cassette Beasts</cite> poses is even greater in scope than any <cite>Pokémon</cite> villain, maybe except for Rainbow Rocket Giovanni from <cite>Ultra Sun</cite> and <cite>Ultra Moon</cite>, who shares the goal of ruling the multiverse.</p>
|
<p>While <cite>Pokémon</cite> has its own fair share of sinister villains, the threat the main villain of <cite>Cassette Beasts</cite> poses is even greater in scope than any <cite>Pokémon</cite> villain, maybe except for Rainbow Rocket Giovanni from <cite>Ultra Sun</cite> and <cite>Ultra Moon</cite>, who shares the goal of ruling the multiverse.</p>
|
||||||
<p>Moreover, even though the player character and their party are able to defeat the main villain in the end, the game makes it clear that since Archangels are not flesh and blood and born from human ideas, as long as humans are interested in conquest Aleph will return at some point. This reflects our world in that defeating a tyrant does not magically solve everything, especially when the system that enables tyrants' rise to power still exists.</p>
|
<p>Moreover, even though the player character and their party are able to defeat the main villain in the end, the game makes it clear that since Archangels are not flesh and blood and born from human ideas, as long as humans are interested in conquest Aleph will return at some point. This reflects our world in that defeating a tyrant does not magically solve everything, especially when the system that enables tyrants' rise to power still exists.</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -713,9 +712,9 @@ Towards the end of the main quest, it is revealed that Archangels are <a href
|
||||||
<p>On the flip side, <cite>Cassette Beasts</cite> has canon LGBTQ+ characters. For characters who are attracted to the samge gender, the most notable ones are the human companions, who can be romanced by the player character regardless of gender, meaning they are canonically bisexual. Furthermore, the game also has a pair of NPCs who are revealed in-game to be a gay married couple.
|
<p>On the flip side, <cite>Cassette Beasts</cite> has canon LGBTQ+ characters. For characters who are attracted to the samge gender, the most notable ones are the human companions, who can be romanced by the player character regardless of gender, meaning they are canonically bisexual. Furthermore, the game also has a pair of NPCs who are revealed in-game to be a gay married couple.
|
||||||
</p><details class="spoiler-accordion">
|
</p><details class="spoiler-accordion">
|
||||||
<summary class="spoiler-accordion__hint">Minor Quest Spoilers for <cite>Cassette Beasts</cite></summary>
|
<summary class="spoiler-accordion__hint">Minor Quest Spoilers for <cite>Cassette Beasts</cite></summary>
|
||||||
<div class="spoiler-accordion__spoiler">
|
<div class="spoiler-accordion__spoiler"><p>To be specific, this pair of NPCs in question are Leader Ianthe and Ranger Wilma, members of the Ranger Guild. After you defeat all 12 Ranger Captains, and you challenge Ianthe to a battle, Ianthe will reveal that she will fight alongside her wife, who is none other than Ranger Wilma, the woman in charge of the Ranger Guild store. Yes, <cite>Cassette Beasts</cite> has a canon married lesbian couple.</p><p></p>
|
||||||
To be specific, this pair of NPCs in question are Leader Ianthe and Ranger Wilma, members of the Ranger Guild. After you defeat all 12 Ranger Captains, and you challenge Ianthe to a battle, Ianthe will reveal that she will fight alongside her wife, who is none other than Ranger Wilma, the woman in charge of the Ranger Guild store. Yes, <cite>Cassette Beasts</cite> has a canon married lesbian couple.</div>
|
</div>
|
||||||
</details><p></p>
|
</details>
|
||||||
<p>As for transgender and non-binary representation, <cite>Pokémon</cite> has a few ambiguously canon ones, namely <a href="https://lgbtqgamearchive.com/2016/05/25/beauty-nova-in-pokemon-xy/">Beauty Nova</a>, a minor female NPC Trainer from <cite>X</cite> and <cite>Y</cite> who is heavily implied to be a trans woman, and <a href="https://bulbapedia.bulbagarden.net/wiki/Blanche">Blanche</a> from <cite>Pokémon GO</cite>, who is not referred to by gendered pronouns in the English version of the game and official social media accounts. Some other human characters are also commonly interpreted or headcanonned as trans by LGBTQ+ fans, but none of them are officially confirmed to be trans or non-binary.</p>
|
<p>As for transgender and non-binary representation, <cite>Pokémon</cite> has a few ambiguously canon ones, namely <a href="https://lgbtqgamearchive.com/2016/05/25/beauty-nova-in-pokemon-xy/">Beauty Nova</a>, a minor female NPC Trainer from <cite>X</cite> and <cite>Y</cite> who is heavily implied to be a trans woman, and <a href="https://bulbapedia.bulbagarden.net/wiki/Blanche">Blanche</a> from <cite>Pokémon GO</cite>, who is not referred to by gendered pronouns in the English version of the game and official social media accounts. Some other human characters are also commonly interpreted or headcanonned as trans by LGBTQ+ fans, but none of them are officially confirmed to be trans or non-binary.</p>
|
||||||
<p>In <cite>Cassette Beasts</cite>, not only that the player can chose to go by they/them pronouns via the character creator, but there is also a Ranger Captain named <a href="https://wiki.cassettebeasts.com/wiki/Skip" target="blank">Skip</a> who is canonically non-binary and uses they/them pronouns.</p>
|
<p>In <cite>Cassette Beasts</cite>, not only that the player can chose to go by they/them pronouns via the character creator, but there is also a Ranger Captain named <a href="https://wiki.cassettebeasts.com/wiki/Skip" target="blank">Skip</a> who is canonically non-binary and uses they/them pronouns.</p>
|
||||||
<p>In addition to having canon LGBTQ+ characters, <cite>Cassette Beasts</cite>'s voice cast also includes multiple openly LGBTQ+ voice actors, such as Allegra Clark, J. Michael Tatum, Kayleigh McKee, Liz Morey, Marin M. Miller and Risa Mei. In fact, both Captain Skip and their voice actor Marin M. Miller are non-binary and go by they/them pronouns.</p>
|
<p>In addition to having canon LGBTQ+ characters, <cite>Cassette Beasts</cite>'s voice cast also includes multiple openly LGBTQ+ voice actors, such as Allegra Clark, J. Michael Tatum, Kayleigh McKee, Liz Morey, Marin M. Miller and Risa Mei. In fact, both Captain Skip and their voice actor Marin M. Miller are non-binary and go by they/them pronouns.</p>
|
||||||
|
|
|
@ -490,8 +490,7 @@
|
||||||
<p>In addition, <cite>Cassette Beasts</cite>' story can get genuinely dark at times, most notably in the cosmic horror presented by the Archangels, the eldritch entities that you need to defeat in boss battles to gather clues about a way out of New Wirral and return home.
|
<p>In addition, <cite>Cassette Beasts</cite>' story can get genuinely dark at times, most notably in the cosmic horror presented by the Archangels, the eldritch entities that you need to defeat in boss battles to gather clues about a way out of New Wirral and return home.
|
||||||
<details class="spoiler-accordion">
|
<details class="spoiler-accordion">
|
||||||
<summary class="spoiler-accordion__hint">Major Story Spoilers for <cite>Cassette Beasts</cite></summary>
|
<summary class="spoiler-accordion__hint">Major Story Spoilers for <cite>Cassette Beasts</cite></summary>
|
||||||
<div class="spoiler-accordion__spoiler">
|
<div class="spoiler-accordion__spoiler"><p>Towards the end of the main quest, it is revealed that Archangels are <a href="https://en.wikipedia.org/wiki/Egregore">egregores</a> created from humanity's desires and ideas. Aleph, the main antagonist and final boss of the main story, is an Archangel that is an incarnation of conquest, and his goal is to leave New Wirral and cause chaos across reality.</p></p>
|
||||||
Towards the end of the main quest, it is revealed that Archangels are <a href="https://en.wikipedia.org/wiki/Egregore">egregores</a> created from humanity's desires and ideas. Aleph, the main antagonist and final boss of the main story, is an Archangel that is an incarnation of conquest, and his goal is to leave New Wirral and cause chaos across reality.</p>
|
|
||||||
<p>While <cite>Pokémon</cite> has its own fair share of sinister villains, the threat the main villain of <cite>Cassette Beasts</cite> poses is even greater in scope than any <cite>Pokémon</cite> villain, maybe except for Rainbow Rocket Giovanni from <cite>Ultra Sun</cite> and <cite>Ultra Moon</cite>, who shares the goal of ruling the multiverse.</p>
|
<p>While <cite>Pokémon</cite> has its own fair share of sinister villains, the threat the main villain of <cite>Cassette Beasts</cite> poses is even greater in scope than any <cite>Pokémon</cite> villain, maybe except for Rainbow Rocket Giovanni from <cite>Ultra Sun</cite> and <cite>Ultra Moon</cite>, who shares the goal of ruling the multiverse.</p>
|
||||||
<p>Moreover, even though the player character and their party are able to defeat the main villain in the end, the game makes it clear that since Archangels are not flesh and blood and born from human ideas, as long as humans are interested in conquest Aleph will return at some point. This reflects our world in that defeating a tyrant does not magically solve everything, especially when the system that enables tyrants' rise to power still exists.</p>
|
<p>Moreover, even though the player character and their party are able to defeat the main villain in the end, the game makes it clear that since Archangels are not flesh and blood and born from human ideas, as long as humans are interested in conquest Aleph will return at some point. This reflects our world in that defeating a tyrant does not magically solve everything, especially when the system that enables tyrants' rise to power still exists.</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -538,9 +537,9 @@ Towards the end of the main quest, it is revealed that Archangels are <a href="h
|
||||||
<p>On the flip side, <cite>Cassette Beasts</cite> has canon LGBTQ+ characters. For characters who are attracted to the samge gender, the most notable ones are the human companions, who can be romanced by the player character regardless of gender, meaning they are canonically bisexual. Furthermore, the game also has a pair of NPCs who are revealed in-game to be a gay married couple.
|
<p>On the flip side, <cite>Cassette Beasts</cite> has canon LGBTQ+ characters. For characters who are attracted to the samge gender, the most notable ones are the human companions, who can be romanced by the player character regardless of gender, meaning they are canonically bisexual. Furthermore, the game also has a pair of NPCs who are revealed in-game to be a gay married couple.
|
||||||
<details class="spoiler-accordion">
|
<details class="spoiler-accordion">
|
||||||
<summary class="spoiler-accordion__hint">Minor Quest Spoilers for <cite>Cassette Beasts</cite></summary>
|
<summary class="spoiler-accordion__hint">Minor Quest Spoilers for <cite>Cassette Beasts</cite></summary>
|
||||||
<div class="spoiler-accordion__spoiler">
|
<div class="spoiler-accordion__spoiler"><p>To be specific, this pair of NPCs in question are Leader Ianthe and Ranger Wilma, members of the Ranger Guild. After you defeat all 12 Ranger Captains, and you challenge Ianthe to a battle, Ianthe will reveal that she will fight alongside her wife, who is none other than Ranger Wilma, the woman in charge of the Ranger Guild store. Yes, <cite>Cassette Beasts</cite> has a canon married lesbian couple.</p></p>
|
||||||
To be specific, this pair of NPCs in question are Leader Ianthe and Ranger Wilma, members of the Ranger Guild. After you defeat all 12 Ranger Captains, and you challenge Ianthe to a battle, Ianthe will reveal that she will fight alongside her wife, who is none other than Ranger Wilma, the woman in charge of the Ranger Guild store. Yes, <cite>Cassette Beasts</cite> has a canon married lesbian couple.</div>
|
</div>
|
||||||
</details></p>
|
</details>
|
||||||
<p>As for transgender and non-binary representation, <cite>Pokémon</cite> has a few ambiguously canon ones, namely <a href="https://lgbtqgamearchive.com/2016/05/25/beauty-nova-in-pokemon-xy/">Beauty Nova</a>, a minor female NPC Trainer from <cite>X</cite> and <cite>Y</cite> who is heavily implied to be a trans woman, and <a href="https://bulbapedia.bulbagarden.net/wiki/Blanche">Blanche</a> from <cite>Pokémon GO</cite>, who is not referred to by gendered pronouns in the English version of the game and official social media accounts. Some other human characters are also commonly interpreted or headcanonned as trans by LGBTQ+ fans, but none of them are officially confirmed to be trans or non-binary.</p>
|
<p>As for transgender and non-binary representation, <cite>Pokémon</cite> has a few ambiguously canon ones, namely <a href="https://lgbtqgamearchive.com/2016/05/25/beauty-nova-in-pokemon-xy/">Beauty Nova</a>, a minor female NPC Trainer from <cite>X</cite> and <cite>Y</cite> who is heavily implied to be a trans woman, and <a href="https://bulbapedia.bulbagarden.net/wiki/Blanche">Blanche</a> from <cite>Pokémon GO</cite>, who is not referred to by gendered pronouns in the English version of the game and official social media accounts. Some other human characters are also commonly interpreted or headcanonned as trans by LGBTQ+ fans, but none of them are officially confirmed to be trans or non-binary.</p>
|
||||||
<p>In <cite>Cassette Beasts</cite>, not only that the player can chose to go by they/them pronouns via the character creator, but there is also a Ranger Captain named <a href="https://wiki.cassettebeasts.com/wiki/Skip" target="blank">Skip</a> who is canonically non-binary and uses they/them pronouns.</p>
|
<p>In <cite>Cassette Beasts</cite>, not only that the player can chose to go by they/them pronouns via the character creator, but there is also a Ranger Captain named <a href="https://wiki.cassettebeasts.com/wiki/Skip" target="blank">Skip</a> who is canonically non-binary and uses they/them pronouns.</p>
|
||||||
<p>In addition to having canon LGBTQ+ characters, <cite>Cassette Beasts</cite>'s voice cast also includes multiple openly LGBTQ+ voice actors, such as Allegra Clark, J. Michael Tatum, Kayleigh McKee, Liz Morey, Marin M. Miller and Risa Mei. In fact, both Captain Skip and their voice actor Marin M. Miller are non-binary and go by they/them pronouns.</p>
|
<p>In addition to having canon LGBTQ+ characters, <cite>Cassette Beasts</cite>'s voice cast also includes multiple openly LGBTQ+ voice actors, such as Allegra Clark, J. Michael Tatum, Kayleigh McKee, Liz Morey, Marin M. Miller and Risa Mei. In fact, both Captain Skip and their voice actor Marin M. Miller are non-binary and go by they/them pronouns.</p>
|
||||||
|
|
|
@ -82,7 +82,7 @@ module.exports = function (eleventyConfig) {
|
||||||
// Paired shorcode: Spoiler accordion
|
// Paired shorcode: Spoiler accordion
|
||||||
eleventyConfig.addPairedShortcode('spoiler', (content, hint) => {
|
eleventyConfig.addPairedShortcode('spoiler', (content, hint) => {
|
||||||
const hintMarkUp = markdownLibrary.renderInline(hint);
|
const hintMarkUp = markdownLibrary.renderInline(hint);
|
||||||
const contentMarkup = markdownLibrary.renderInline(content);
|
const contentMarkup = markdownLibrary.render(content);
|
||||||
return `
|
return `
|
||||||
<details class="spoiler-accordion">
|
<details class="spoiler-accordion">
|
||||||
<summary class="spoiler-accordion__hint">${hintMarkUp}</summary>
|
<summary class="spoiler-accordion__hint">${hintMarkUp}</summary>
|
||||||
|
|
Loading…
Reference in New Issue