Add figure and figcaption elmeent paired shortcode
This commit is contained in:
parent
8ddee223d6
commit
b249c638a9
|
@ -377,6 +377,16 @@
|
||||||
|
|
||||||
<ul class="content-list">
|
<ul class="content-list">
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<p class="content-list__title">
|
||||||
|
<a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">
|
||||||
|
List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<time>7 May 2024</time>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p class="content-list__title">
|
<p class="content-list__title">
|
||||||
<a href="/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/">
|
<a href="/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/">
|
||||||
|
@ -407,16 +417,6 @@
|
||||||
<time>20 April 2024</time>
|
<time>20 April 2024</time>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
|
||||||
<p class="content-list__title">
|
|
||||||
<a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">
|
|
||||||
List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
<time>20 April 2024</time>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p class="content-list__title">
|
<p class="content-list__title">
|
||||||
<a href="/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/">
|
<a href="/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/">
|
||||||
|
|
|
@ -387,7 +387,7 @@
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<time>20 April 2024</time>
|
<time>7 May 2024</time>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -382,18 +382,18 @@
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p class="content-list__title">
|
<p class="content-list__title">
|
||||||
<a href="/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/">
|
<a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">
|
||||||
The Sith Lords Restored Content Mod + M4-78 Enhancement Project Modules, Warp Codes & Music Overview | Resources
|
List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<time>20 April 2024</time>
|
<time>7 May 2024</time>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p class="content-list__title">
|
<p class="content-list__title">
|
||||||
<a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">
|
<a href="/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/">
|
||||||
List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member | Resources
|
The Sith Lords Restored Content Mod + M4-78 Enhancement Project Modules, Warp Codes & Music Overview | Resources
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -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-07T04:16:16Z</updated>
|
<updated>2024-05-07T06:47:08Z</updated>
|
||||||
<id>https://leilukin.neocities.org</id>
|
<id>https://leilukin.neocities.org</id>
|
||||||
<author>
|
<author>
|
||||||
<name>Leilukin</name>
|
<name>Leilukin</name>
|
||||||
|
|
|
@ -450,7 +450,7 @@
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/assets/projects/playlists/My-Dear-Summer-Lover-cover.png" alt="Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'">
|
<img src="/assets/projects/playlists/My-Dear-Summer-Lover-cover.png" alt="Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'">
|
||||||
<figcaption>
|
<figcaption>
|
||||||
[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.]
|
[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.]
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<p>A fanmix for the visual novel <a href="https://www.asummersend.com/home" target="_blank"><cite>A Summer’s End — Hong Kong 1986</cite></a>, dedicated to Sam and Michelle’s love story.</p>
|
<p>A fanmix for the visual novel <a href="https://www.asummersend.com/home" target="_blank"><cite>A Summer’s End — Hong Kong 1986</cite></a>, dedicated to Sam and Michelle’s love story.</p>
|
||||||
|
|
|
@ -380,7 +380,7 @@
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/assets/projects/playlists/My-Dear-Summer-Lover-cover.png" alt="Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'">
|
<img src="/assets/projects/playlists/My-Dear-Summer-Lover-cover.png" alt="Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'">
|
||||||
<figcaption>
|
<figcaption>
|
||||||
[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.]
|
[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.]
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<p>My fanmix for <a href="https://www.asummersend.com/home" target="_blank"><cite>A Summer’s End — Hong Kong 1986</cite></a>, dedicated to Sam and Michelle’s love story.</p>
|
<p>My fanmix for <a href="https://www.asummersend.com/home" target="_blank"><cite>A Summer’s End — Hong Kong 1986</cite></a>, dedicated to Sam and Michelle’s love story.</p>
|
||||||
|
|
|
@ -417,8 +417,8 @@
|
||||||
<li><a href="/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/">Redeeming Bastila Guide</a></li>
|
<li><a href="/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/">Redeeming Bastila Guide</a></li>
|
||||||
<li><a href="/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/">Sandral-Matale Feud Ending Guide</a></li></ul></li>
|
<li><a href="/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/">Sandral-Matale Feud Ending Guide</a></li></ul></li>
|
||||||
<li><a href="/shrines/starwarskotor/resources/">Resources</a><ul><li><a href="/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/">List of Same-Gender Romance Mods for Star Wars: Knights of the Old Republic Series</a></li>
|
<li><a href="/shrines/starwarskotor/resources/">Resources</a><ul><li><a href="/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/">List of Same-Gender Romance Mods for Star Wars: Knights of the Old Republic Series</a></li>
|
||||||
<li><a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member</a></li>
|
<li><a href="/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/">The Sith Lords Restored Content Mod + M4-78 Enhancement Project Modules, Warp Codes & Music Overview</a></li>
|
||||||
<li><a href="/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/">The Sith Lords Restored Content Mod + M4-78 Enhancement Project Modules, Warp Codes & Music Overview</a></li></ul></li>
|
<li><a href="/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/">List of Star Wars: Knights of the Old Republic II Mods that Allow Female Exiles to Recruit the Handmaiden as a Party Member</a></li></ul></li>
|
||||||
<li><a href="/shrines/starwarskotor/universes/">Universes</a></li></ul></li>
|
<li><a href="/shrines/starwarskotor/universes/">Universes</a></li></ul></li>
|
||||||
<li><a href="/shrines/asummersend/">A Summer’s End — Hong Kong 1986 Shrine</a><ul><li><a href="/shrines/asummersend/playlists/">Playlists</a></li>
|
<li><a href="/shrines/asummersend/">A Summer’s End — Hong Kong 1986 Shrine</a><ul><li><a href="/shrines/asummersend/playlists/">Playlists</a></li>
|
||||||
<li><a href="/shrines/asummersend/trivia/">Trivia</a></li>
|
<li><a href="/shrines/asummersend/trivia/">Trivia</a></li>
|
||||||
|
|
|
@ -79,6 +79,15 @@ module.exports = function (eleventyConfig) {
|
||||||
return `<${el}${classMarkup}>${content}</${el}>`;
|
return `<${el}${classMarkup}>${content}</${el}>`;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Paired shortcode: figure element with figcaption
|
||||||
|
eleventyConfig.addPairedShortcode('figure', (caption, img, alt=caption) => {
|
||||||
|
const figcaption = markdownLibrary.renderInline(caption);
|
||||||
|
return `<figure>
|
||||||
|
<img src="${img}" alt="${alt}">
|
||||||
|
<figcaption>${figcaption}</figcaption>
|
||||||
|
</figure>`;
|
||||||
|
});
|
||||||
|
|
||||||
// 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);
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{% macro myASEPlaylist(intro) %}
|
{% macro myASEPlaylist(intro) %}
|
||||||
<figure>
|
{% figure "/assets/projects/playlists/My-Dear-Summer-Lover-cover.png", "Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'" %}
|
||||||
<img src="/assets/projects/playlists/My-Dear-Summer-Lover-cover.png" alt="Cover image of A Summer’s End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'">
|
|
||||||
<figcaption>
|
|
||||||
[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.]
|
[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.]
|
||||||
</figcaption>
|
{% endfigure %}
|
||||||
</figure>
|
|
||||||
|
|
||||||
{{ intro }} [{% cite "A Summer’s End — Hong Kong 1986" %}](https://www.asummersend.com/home){target="_blank"}, dedicated to Sam and Michelle’s love story.
|
{{ intro }} [{% cite "A Summer’s End — Hong Kong 1986" %}](https://www.asummersend.com/home){target="_blank"}, dedicated to Sam and Michelle’s love story.
|
||||||
|
|
||||||
|
|
|
@ -7,12 +7,9 @@ categories: ["anti harry potter", "anti jk rowling"]
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<figure>
|
{% figure "/assets/banners/harry-potter-free-site.png", "An anime girl crossing arms with a sidelong look and a Harry Potter-free message" %}
|
||||||
<img src="/assets/banners/harry-potter-free-site.png" alt="An anime girl crossing arms with a sidelong look and a Harry Potter-free message">
|
|
||||||
<figcaption>
|
|
||||||
This site is Harry Potter free. Lookin [<i>sic</i>] for it? Leave.
|
This site is Harry Potter free. Lookin [<i>sic</i>] for it? Leave.
|
||||||
</figcaption>
|
{% endfigure %}
|
||||||
</figure>
|
|
||||||
|
|
||||||
(Credit to Tumblr user [comradesaucegay](https://comradesaucegay.tumblr.com/post/621403039459426304){target="_blank"} for this Harry Potter-free website banner){.center-text}
|
(Credit to Tumblr user [comradesaucegay](https://comradesaucegay.tumblr.com/post/621403039459426304){target="_blank"} for this Harry Potter-free website banner){.center-text}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue