Refactor rendering of site map with Eleventy Navigation
This commit is contained in:
parent
ca69b2f147
commit
3492fe27b6
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||
<link href="https://leilukin.neocities.org"/>
|
||||
<updated>2024-04-24T16:50:44Z</updated>
|
||||
<updated>2024-04-24T16:55:25Z</updated>
|
||||
<id>https://leilukin.neocities.org</id>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
|
|
@ -363,76 +363,59 @@
|
|||
|
||||
<p>This page lists the links to the pages on my website for easier navigation.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul role="list" class="sitemap"><li>
|
||||
<a href="/">Home</a></li><li>
|
||||
<a href="/about/">About</a></li><li>
|
||||
<a href="/now/">Now</a></li><li>
|
||||
<a href="/blog/">Blog</a><ul><li>
|
||||
<a href="/blog/posts/">Blog Archive</a><ul><li>
|
||||
<a href="/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/">2023 New Year Redesign of Leilukin's Hub</a></li><li>
|
||||
<a href="/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/">Leilukin's Hub Now has a Blog!</a></li><li>
|
||||
<a href="/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/">Onboard the Dracula Daily Hype Train</a></li><li>
|
||||
<a href="/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/">June 2023 Leilukin's Hub Layout Rewrite</a></li><li>
|
||||
<a href="/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/">My First Birthday After the Launch of Leilukin's Hub</a></li><li>
|
||||
<a href="/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/">Happy 1st Anniversary to Leilukin's Hub</a></li><li>
|
||||
<a href="/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/">My Cassette Beasts Pombomb Plushie Arrived!</a></li><li>
|
||||
<a href="/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/">Support for My Steam Review of A Summer's End — Hong Kong 1986</a></li><li>
|
||||
<a href="/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/">I Can Finally Game on a Solid-State Drive</a></li><li>
|
||||
<a href="/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/">Finally Beat A Bug's Life The Video Game — 24 Years Later</a></li><li>
|
||||
<a href="/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/">I Received a Lifetime Premium Membership on Nexus Mods for Free</a></li><li>
|
||||
<a href="/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/">April 2024 Leilukin's Hub Overhaul with Eleventy</a></li></ul></li></ul></li><li>
|
||||
<a href="/articles/">Articles</a><ul><li>
|
||||
<a href="/articles/kotor2-modder-interview-ars-technica/">The modders who spent 15 years fixing Knights of the Old Republic 2 @ Ars Technica</a></li><li>
|
||||
<a href="/articles/lgbtq-booklet-interview-misi-bawang/">Floating in a Sky Full of Pride: LGBTQ+ Booklet Artist Interview from MISI:Bawang</a></li><li>
|
||||
<a href="/articles/anti-harry-potter-jk-rowling-masterlist/">Anti-Harry Potter and Anti-J. K. Rowling Masterlist</a></li><li>
|
||||
<a href="/articles/my-dislike-of-shipping-culture/">My Disinterest in Shipping and Dislike of Shipping Culture</a></li><li>
|
||||
<a href="/articles/designated-lesbian-syndrome-fandom/">Designated Lesbian Syndrome in Fandom</a></li></ul></li><li>
|
||||
<a href="/projects/">Projects</a><ul><li>
|
||||
<a href="/projects/kotor2mods/">My Mods for Star Wars: Knights of the Old Republic II: The Sith Lords</a></li><li>
|
||||
<a href="/projects/kotor1mods/">My Mods for Star Wars: Knights of the Old Republic</a></li><li>
|
||||
<a href="/projects/playlists/">My Music Playlists</a></li></ul></li><li>
|
||||
<a href="/shrines/">Shrines</a><ul><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/gallery/">Gallery</a></li></ul></li><li>
|
||||
<a href="/shrines/cassettebeasts/">Cassette Beasts Shrine</a><ul><li>
|
||||
<a href="/shrines/cassettebeasts/articles/">Articles</a><ul><li>
|
||||
<a href="/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/">How Cassette Beasts is Much More than a Pokémon Clone</a></li></ul></li><li>
|
||||
<a href="/shrines/cassettebeasts/gamelog/">Game Log</a></li><li>
|
||||
<a href="/shrines/cassettebeasts/featured/">Featured</a></li><li>
|
||||
<a href="/shrines/cassettebeasts/trivia/">Trivia</a></li><li>
|
||||
<a href="/shrines/cassettebeasts/resources/">Resources</a></li></ul></li><li>
|
||||
<a href="/shrines/starwarskotor/">Star Wars: Knights of the Old Republic Shrine</a><ul><li>
|
||||
<a href="/shrines/starwarskotor/articles/">Articles</a><ul><li>
|
||||
<a href="/shrines/starwarskotor/articles/juhani-lesbian-evidence/">Evidence of Juhani being a Lesbian from Star Wars: Knights of the Old Republic's Game Files</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/handmaiden-sisters-mother/">Where is the Mother of the Handmaiden's Sisters?</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/arren-kae-kreia-theory/">Why I Personally Do Not Subscribe to the “Arren Kae is Kreia” Theory</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/faq-same-gender-romance-mods/">Frequently Asked Questions (FAQ) for My Star Wars: KotOR Same-Gender Romance Mods</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/">How to Access Juhani's Conversaion about Canderous without Restoration Mods</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/keep-juhani-a-lesbian/">Keep Juhani a Lesbian and Keep Juhani's Romance Exclusive to Female Characters</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/partyswap-management-takeover/">On Me Taking Over the Management and Development of DarthTyren's PartySwap Mod</a></li><li>
|
||||
<a href="/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/">Should You Use The Sith Lords Restored Content Mod in Your First Star Wars: KotOR 2 Playthrough?</a></li></ul></li><li>
|
||||
<a href="/shrines/starwarskotor/guides/">Guides</a><ul><li>
|
||||
<a href="/shrines/starwarskotor/guides/kotor-juhani-romance-guide/">Juhani Romance 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/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></ul></li><li>
|
||||
<a href="/shrines/starwarskotor/universes/">Universes</a></li></ul></li></ul></li><li>
|
||||
<a href="/links/">Links</a></li><li>
|
||||
<a href="/changelogs/">Changelogs</a><ul><li>
|
||||
<a href="/changelogs/layouts/">Website Layouts</a></li><li>
|
||||
<a href="/changelogs/2022/">2022</a></li><li>
|
||||
<a href="/changelogs/2023/">2023</a></li><li>
|
||||
<a href="/changelogs/2024/">2024</a></li></ul></li><li>
|
||||
<a href="/categories/">Content Categories</a></li><li>
|
||||
<a href="/archive/">Content Archive</a></li></ul>
|
||||
<ul class="sitemap"><li><a href="/">Home</a></li>
|
||||
<li><a href="/about/">About</a></li>
|
||||
<li><a href="/now/">Now</a></li>
|
||||
<li><a href="/blog/">Blog</a><ul><li><a href="/blog/posts/">Blog Archive</a><ul><li><a href="/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/">2023 New Year Redesign of Leilukin's Hub</a></li>
|
||||
<li><a href="/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/">Leilukin's Hub Now has a Blog!</a></li>
|
||||
<li><a href="/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/">Onboard the Dracula Daily Hype Train</a></li>
|
||||
<li><a href="/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/">June 2023 Leilukin's Hub Layout Rewrite</a></li>
|
||||
<li><a href="/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/">My First Birthday After the Launch of Leilukin's Hub</a></li>
|
||||
<li><a href="/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/">Happy 1st Anniversary to Leilukin's Hub</a></li>
|
||||
<li><a href="/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/">My Cassette Beasts Pombomb Plushie Arrived!</a></li>
|
||||
<li><a href="/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/">Support for My Steam Review of A Summer's End — Hong Kong 1986</a></li>
|
||||
<li><a href="/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/">I Can Finally Game on a Solid-State Drive</a></li>
|
||||
<li><a href="/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/">Finally Beat A Bug's Life The Video Game — 24 Years Later</a></li>
|
||||
<li><a href="/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/">I Received a Lifetime Premium Membership on Nexus Mods for Free</a></li>
|
||||
<li><a href="/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/">April 2024 Leilukin's Hub Overhaul with Eleventy</a></li></ul></li></ul></li>
|
||||
<li><a href="/articles/">Articles</a><ul><li><a href="/articles/kotor2-modder-interview-ars-technica/">The modders who spent 15 years fixing Knights of the Old Republic 2 @ Ars Technica</a></li>
|
||||
<li><a href="/articles/lgbtq-booklet-interview-misi-bawang/">Floating in a Sky Full of Pride: LGBTQ+ Booklet Artist Interview from MISI:Bawang</a></li>
|
||||
<li><a href="/articles/anti-harry-potter-jk-rowling-masterlist/">Anti-Harry Potter and Anti-J. K. Rowling Masterlist</a></li>
|
||||
<li><a href="/articles/my-dislike-of-shipping-culture/">My Disinterest in Shipping and Dislike of Shipping Culture</a></li>
|
||||
<li><a href="/articles/designated-lesbian-syndrome-fandom/">Designated Lesbian Syndrome in Fandom</a></li></ul></li>
|
||||
<li><a href="/projects/">Projects</a><ul><li><a href="/projects/kotor2mods/">My Mods for Star Wars: Knights of the Old Republic II: The Sith Lords</a></li>
|
||||
<li><a href="/projects/kotor1mods/">My Mods for Star Wars: Knights of the Old Republic</a></li>
|
||||
<li><a href="/projects/playlists/">My Music Playlists</a></li></ul></li>
|
||||
<li><a href="/shrines/">Shrines</a><ul><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/gallery/">Gallery</a></li></ul></li>
|
||||
<li><a href="/shrines/cassettebeasts/">Cassette Beasts Shrine</a><ul><li><a href="/shrines/cassettebeasts/articles/">Articles</a><ul><li><a href="/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/">How Cassette Beasts is Much More than a Pokémon Clone</a></li></ul></li>
|
||||
<li><a href="/shrines/cassettebeasts/gamelog/">Game Log</a></li>
|
||||
<li><a href="/shrines/cassettebeasts/featured/">Featured</a></li>
|
||||
<li><a href="/shrines/cassettebeasts/trivia/">Trivia</a></li>
|
||||
<li><a href="/shrines/cassettebeasts/resources/">Resources</a></li></ul></li>
|
||||
<li><a href="/shrines/starwarskotor/">Star Wars: Knights of the Old Republic Shrine</a><ul><li><a href="/shrines/starwarskotor/articles/">Articles</a><ul><li><a href="/shrines/starwarskotor/articles/juhani-lesbian-evidence/">Evidence of Juhani being a Lesbian from Star Wars: Knights of the Old Republic's Game Files</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/handmaiden-sisters-mother/">Where is the Mother of the Handmaiden's Sisters?</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/arren-kae-kreia-theory/">Why I Personally Do Not Subscribe to the “Arren Kae is Kreia” Theory</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/faq-same-gender-romance-mods/">Frequently Asked Questions (FAQ) for My Star Wars: KotOR Same-Gender Romance Mods</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/">How to Access Juhani's Conversaion about Canderous without Restoration Mods</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/keep-juhani-a-lesbian/">Keep Juhani a Lesbian and Keep Juhani's Romance Exclusive to Female Characters</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/partyswap-management-takeover/">On Me Taking Over the Management and Development of DarthTyren's PartySwap Mod</a></li>
|
||||
<li><a href="/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/">Should You Use The Sith Lords Restored Content Mod in Your First Star Wars: KotOR 2 Playthrough?</a></li></ul></li>
|
||||
<li><a href="/shrines/starwarskotor/guides/">Guides</a><ul><li><a href="/shrines/starwarskotor/guides/kotor-juhani-romance-guide/">Juhani Romance 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/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></ul></li>
|
||||
<li><a href="/shrines/starwarskotor/universes/">Universes</a></li></ul></li></ul></li>
|
||||
<li><a href="/links/">Links</a></li>
|
||||
<li><a href="/changelogs/">Changelogs</a><ul><li><a href="/changelogs/layouts/">Website Layouts</a></li>
|
||||
<li><a href="/changelogs/2022/">2022</a></li>
|
||||
<li><a href="/changelogs/2023/">2023</a></li>
|
||||
<li><a href="/changelogs/2024/">2024</a></li></ul></li>
|
||||
<li><a href="/categories/">Content Categories</a></li>
|
||||
<li><a href="/archive/">Content Archive</a></li></ul>
|
||||
|
||||
<style>
|
||||
main ul {
|
||||
|
|
|
@ -2,27 +2,15 @@
|
|||
layout: main/content
|
||||
title: Site Map
|
||||
eleventyExcludeFromCollections: true
|
||||
navigationOptions:
|
||||
listClass: "sitemap"
|
||||
eleventyComputed:
|
||||
desc: Site map of {{ sitemeta.siteName | safe }}.
|
||||
---
|
||||
|
||||
<p>This page lists the links to the pages on my website for easier navigation.</p>
|
||||
|
||||
{% set navPages = collections.all | eleventyNavigation %}
|
||||
{% macro renderNavListItem(entry) -%}
|
||||
<li>
|
||||
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
{%- if entry.children.length -%}
|
||||
<ul>
|
||||
{%- for child in entry.children %}{{ renderNavListItem(child) }}{% endfor -%}
|
||||
</ul>
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{%- endmacro %}
|
||||
|
||||
<ul role="list" class="sitemap">
|
||||
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
|
||||
</ul>
|
||||
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml(navigationOptions) | safe }}
|
||||
|
||||
<style>
|
||||
main ul {
|
||||
|
|
Loading…
Reference in New Issue