Convert Nunjucks templates to HTML files
All checks were successful
Deploy to Hostinger / Build and Push (push) Successful in 43s

This commit is contained in:
Leilukin 2025-04-24 00:58:27 +08:00
parent e6ccf1abbb
commit 74e6215d2f
86 changed files with 117 additions and 128 deletions

View File

@ -33,5 +33,5 @@ jobs:
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
REMOTE PORT: "65002"
EXCLUDE: "/__Source/, /node_modules/, /host/"
REMOTE_PORT: "65002"
EXCLUDE: "/node_modules/, /host/"

View File

@ -1,5 +1,5 @@
---
layout: misc/base
layout: global/root
title: "404: Page Not Found"
h1: "404: Page Not Found"
eleventyExcludeFromCollections: true

View File

@ -1,4 +0,0 @@
---
layout: misc/404
permalink: "{{ page.filePathStem }}.html"
---

View File

@ -1,6 +1,6 @@
{%- css %}{% include "src/assets/css/asummersend.css" %}{%- endcss %}
{% extends "global/baselayout.njk" %}
{% extends "global/baselayout.html" %}
{% block metaTitle %}
<meta property="og:title" content="{{ title + ' | ' if title }}A Summers End — Hong Kong 1986 Shrine">
@ -14,6 +14,6 @@
<link rel="icon" type="image/x-icon" href="/assets/shrines/asummersend/images/favicon.ico">
{% endblock %}
{% block hero %}{% include "asummersend/hero.njk" %}{% endblock %}
{% block navbar %}{% include "asummersend/navbar.njk" %}{% endblock %}
{% block footer %}{% include "asummersend/footer.njk" %}{% endblock %}
{% block hero %}{% include "asummersend/hero.html" %}{% endblock %}
{% block navbar %}{% include "asummersend/navbar.html" %}{% endblock %}
{% block footer %}{% include "asummersend/footer.html" %}{% endblock %}

View File

@ -0,0 +1,7 @@
---
layout: asummersend/base
---
{% extends "global/content.html" %}
{% block shrineInfo %}{% include "asummersend/shrineinfo.html" %}{% endblock %}

View File

@ -1,7 +0,0 @@
---
layout: asummersend/base
---
{% extends "global/content.njk" %}
{% block shrineInfo %}{% include "asummersend/shrineinfo.njk" %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "global/footer.njk" %}
{% extends "global/footer.html" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} • Shrine Launched: 16 February 2023</p>

View File

@ -1,4 +1,4 @@
{% extends "global/hero.njk" %}
{% extends "global/hero.html" %}
{% block heroImg %}
<picture>

View File

@ -1,4 +1,4 @@
{% extends "global/navbar.njk" %}
{% extends "global/navbar.html" %}
{% set shrineHomeUrl = "/shrines/asummersend/" %}
{% block navbarLinks %}

View File

@ -1,4 +1,4 @@
{% extends "global/shrineinfo.njk" %}
{% extends "global/shrineinfo.html" %}
{% block shrineAbout %}
<p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "A Summers End — Hong Kong 1986" %}, an indie visual novel developed by Oracle and Bone. Set in 1980s Hong Kong, it tells of a love story between two women.</p>

View File

@ -1,6 +1,6 @@
{%- css %}{% include "src/assets/css/cassettebeasts.css" %}{%- endcss %}
{% extends "global/baselayout.njk" %}
{% extends "global/baselayout.html" %}
{% block metaTitle %}
<meta property="og:title" content="{{ title + ' | ' if title }}Cassette Beasts Shrine">
@ -14,6 +14,6 @@
<link rel="icon" type="image/x-icon" href="/assets/shrines/cassettebeasts/images/favicon.ico">
{% endblock %}
{% block hero %}{% include "cassettebeasts/hero.njk" %}{% endblock %}
{% block navbar %}{% include "cassettebeasts/navbar.njk" %}{% endblock %}
{% block footer %}{% include "cassettebeasts/footer.njk" %}{% endblock %}
{% block hero %}{% include "cassettebeasts/hero.html" %}{% endblock %}
{% block navbar %}{% include "cassettebeasts/navbar.html" %}{% endblock %}
{% block footer %}{% include "cassettebeasts/footer.html" %}{% endblock %}

View File

@ -0,0 +1,7 @@
---
layout: cassettebeasts/base
---
{% extends "global/content.html" %}
{% block shrineInfo %}{% include "cassettebeasts/shrineinfo.html" %}{% endblock %}

View File

@ -1,7 +0,0 @@
---
layout: cassettebeasts/base
---
{% extends "global/content.njk" %}
{% block shrineInfo %}{% include "cassettebeasts/shrineinfo.njk" %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "global/footer.njk" %}
{% extends "global/footer.html" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} • Shrine Launched: 3 August 2023</p>

View File

@ -1,4 +1,4 @@
{% extends "global/hero.njk" %}
{% extends "global/hero.html" %}
{% block heroImg %}
<picture>

View File

@ -1,4 +1,4 @@
{% extends "global/navbar.njk" %}
{% extends "global/navbar.html" %}
{% set shrineHomeUrl = "/shrines/cassettebeasts/" %}
{% block navbarLinks %}

View File

@ -1,4 +1,4 @@
{% extends "global/shrineinfo.njk" %}
{% extends "global/shrineinfo.html" %}
{% block shrineAbout %}
<p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "Cassette Beasts" %}, an indie monster collecting turn-based open-world role-playing video game developed by Bytten Studio and published by Raw Fury.</p>

View File

@ -8,13 +8,13 @@
{% block metaTitle %}
<meta property="og:title" content="{{ title if title else sitemeta.siteName | safe }}">
{% endblock %}
{% include "global/meta.njk" %}
{% include "global/meta.html" %}
{# Feeds #}
{% include "global/feeds.njk" %}
{% include "global/feeds.html" %}
{# Fonts #}
{% include "global/fonts.njk" %}
{% include "global/fonts.html" %}
{# CSS #}
{% include "global/css-bundle.njk" %}
{% include "global/css-bundle.html" %}
{% if hasTooltips %}
<link rel="stylesheet" href="/assets/css/tooltips.css">
{% endif %}
@ -43,11 +43,11 @@
</head>
<body>
<div class="skip-btn"><a href="#content">Skip to content</a></div>
{% block hero %}{% include "global/hero.njk" %}{% endblock %}
{% block navbar %}{% include "global/navbar.njk" %}{% endblock %}
{% block hero %}{% include "global/hero.html" %}{% endblock %}
{% block navbar %}{% include "global/navbar.html" %}{% endblock %}
<main id="content">
{{ content | safe }}
</main>
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
{% block footer %}{% include "global/footer.html" %}{% endblock %}
</body>
</html>

View File

@ -38,7 +38,7 @@
<content-wrapper>
{% if toc %}
{% include "global/toc.njk" %}
{% include "global/toc.html" %}
{% endif %}
{% set contentEl = "article" if isArticle or articleElement else "div" %}
@ -79,7 +79,7 @@
or page.url === "/articles/"
or tags and tags.includes("blog pages")
%}
{% include "main/content-nav.njk" %}
{% include "main/content-nav.html" %}
{% endif %}
{% block shrineInfo %}{% endblock %}

View File

@ -23,8 +23,8 @@
<a href="https://ko-fi.com/leilukin">Support me on Ko-Fi</a>
</p>
{%- include "global/h-card.njk" -%}
{%- include "global/top-btn.njk" %}
{%- include "global/h-card.html" -%}
{%- include "global/top-btn.html" %}
</footer>
{%- css %}

View File

@ -7,13 +7,13 @@
{# Open Graph meta #}
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{{ sitemeta.siteName }}{% endif %}">
{% include "global/meta.njk" %}
{% include "global/meta.html" %}
{# Feeds #}
{% include "global/feeds.njk" %}
{% include "global/feeds.html" %}
{# Style #}
{% include "global/fonts.njk" %}
{% include "global/fonts.html" %}
<link rel="stylesheet" href="/assets/css/misc.css">
<title>{% if title %} {{ title }} | {% endif %} {{ sitemeta.siteName }}</title>

View File

@ -0,0 +1,5 @@
{% extends "global/baselayout.html" %}
{% block hero %}{% include "main/hero.html" %}{% endblock %}
{% block navbar %}{% include "main/navbar.html" %}{% endblock %}
{% block footer %}{% include "main/footer.html" %}{% endblock %}

View File

@ -1,5 +0,0 @@
{% extends "global/baselayout.njk" %}
{% block hero %}{% include "main/hero.njk" %}{% endblock %}
{% block navbar %}{% include "main/navbar.njk" %}{% endblock %}
{% block footer %}{% include "main/footer.njk" %}{% endblock %}

View File

@ -0,0 +1,5 @@
---
layout: main/base
---
{% extends "global/content.html" %}

View File

@ -1,5 +0,0 @@
---
layout: main/base
---
{% extends "global/content.njk" %}

View File

@ -1,4 +1,4 @@
{% extends "global/footer.njk" %}
{% extends "global/footer.html" %}
{% block footerContent %}
<h2 class="visually-hidden">Footer Navigation:</h2>

View File

@ -1,4 +1,4 @@
{% extends "global/hero.njk" %}
{% extends "global/hero.html" %}
{% block heroImg %}
<img fetchpriority="high" src="/assets/leilukin/Leilukins-Hub-website-banner.avif" alt="Banner of Leilukin's Hub" width="900" height="300">

View File

@ -1,5 +1,5 @@
---
layout: main/content.njk
layout: main/content.html
articleElement: true
isContentDivided: true
---
@ -7,7 +7,7 @@ isContentDivided: true
<section class="content__section">
<h2>Link to My Website</h2>
{% include "main/my-button.njk" %}
{% include "main/my-button.html" %}
</section>
<section class="content__section">

View File

@ -1,4 +1,4 @@
{% extends "global/navbar.njk" %}
{% extends "global/navbar.html" %}
{% block navbarLinks %}
{% set currentUrl %}{{ page.url }}{% endset %}

View File

@ -1,6 +1,6 @@
{%- css %}{% include "src/assets/css/pokemonoras.css" %}{%- endcss %}
{% extends "global/baselayout.njk" %}
{% extends "global/baselayout.html" %}
{% block metaTitle %}
<meta property="og:title" content="{{ title + ' | ' if title }}Pokémon Omega Ruby and Alpha Sapphire Shrine">
@ -14,6 +14,6 @@
<link rel="icon" type="image/x-icon" href="/assets/shrines/pokemonoras/images/favicon.ico">
{% endblock %}
{% block hero %}{% include "pokemonoras/hero.njk" %}{% endblock %}
{% block navbar %}{% include "pokemonoras/navbar.njk" %}{% endblock %}
{% block footer %}{% include "pokemonoras/footer.njk" %}{% endblock %}
{% block hero %}{% include "pokemonoras/hero.html" %}{% endblock %}
{% block navbar %}{% include "pokemonoras/navbar.html" %}{% endblock %}
{% block footer %}{% include "pokemonoras/footer.html" %}{% endblock %}

View File

@ -0,0 +1,7 @@
---
layout: pokemonoras/base
---
{% extends "global/content.html" %}
{% block shrineInfo %}{% include "pokemonoras/shrineinfo.html" %}{% endblock %}

View File

@ -1,7 +0,0 @@
---
layout: pokemonoras/base
---
{% extends "global/content.njk" %}
{% block shrineInfo %}{% include "pokemonoras/shrineinfo.njk" %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "global/footer.njk" %}
{% extends "global/footer.html" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} • Shrine Launched: 21 November 2024</p>

View File

@ -1,4 +1,4 @@
{% extends "global/hero.njk" %}
{% extends "global/hero.html" %}
{% block heroImg %}
<picture>

View File

@ -1,4 +1,4 @@
{% extends "global/navbar.njk" %}
{% extends "global/navbar.html" %}
{% set shrineHomeUrl = "/shrines/pokemonoras/" %}
{% block navbarLinks %}

View File

@ -1,4 +1,4 @@
{% extends "global/shrineinfo.njk" %}
{% extends "global/shrineinfo.html" %}
{% block shrineAbout %}
<p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "Pokémon Omega Ruby and Alpha Sapphire" %}, remakes of the 2002 Game Boy Advance role-playing video games {% cite "Pokémon Ruby" %} and {% cite "Pokémon Sapphire" %}. The games are part of the sixth generation of the {% cite "Pokémon" %} main series of video games, developed by Game Freak and published by The Pokémon Company and Nintendo for the Nintendo 3DS.</p>

View File

@ -1,6 +1,6 @@
{%- css %}{% include "src/assets/css/starwarskotor.css" %}{%- endcss %}
{% extends "global/baselayout.njk" %}
{% extends "global/baselayout.html" %}
{% block metaTitle %}
<meta property="og:title" content="{{ title + ' | ' if title }}Star Wars: Knights of the Old Republic Shrine">
@ -14,6 +14,6 @@
<link rel="icon" type="image/x-icon" href="/assets/shrines/starwarskotor/images/favicon.ico">
{% endblock %}
{% block hero %}{% include "starwarskotor/hero.njk" %}{% endblock %}
{% block navbar %}{% include "starwarskotor/navbar.njk" %}{% endblock %}
{% block footer %}{% include "starwarskotor/footer.njk" %}{% endblock %}
{% block hero %}{% include "starwarskotor/hero.html" %}{% endblock %}
{% block navbar %}{% include "starwarskotor/navbar.html" %}{% endblock %}
{% block footer %}{% include "starwarskotor/footer.html" %}{% endblock %}

View File

@ -0,0 +1,7 @@
---
layout: starwarskotor/base
---
{% extends "global/content.html" %}
{% block shrineInfo %}{% include "starwarskotor/shrineinfo.html" %}{% endblock %}

View File

@ -1,7 +0,0 @@
---
layout: starwarskotor/base
---
{% extends "global/content.njk" %}
{% block shrineInfo %}{% include "starwarskotor/shrineinfo.njk" %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "global/footer.njk" %}
{% extends "global/footer.html" %}
{% block footerContent %}
<p>Made with ♥ and the Force by {{ sitemeta.siteAuthor.name }} • Shrine Launched: 17 February 2023</p>

View File

@ -1,4 +1,4 @@
{% extends "global/hero.njk" %}
{% extends "global/hero.html" %}
{% block heroImg %}
<picture>

View File

@ -1,4 +1,4 @@
{% extends "global/navbar.njk" %}
{% extends "global/navbar.html" %}
{% set shrineHomeUrl = "/shrines/starwarskotor/" %}
{% block navbarLinks %}

View File

@ -1,4 +1,4 @@
{% extends "global/shrineinfo.njk" %}
{% extends "global/shrineinfo.html" %}
{% block shrineAbout %}
<p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "Star Wars: Knights of the Old Republic" %}, a series of role-playing video games set in the {% cite "Star Wars" %} universe, taking place almost 4,000 years before the events of the Skywalker film saga.</p>

View File

@ -8,4 +8,4 @@ eleventyNavigation:
---
{% set changelogList = collections["changelog 2022"] %}
{% include "main/changelogs-list.njk" %}
{% include "main/changelogs-list.html" %}

View File

@ -8,4 +8,4 @@ eleventyNavigation:
---
{% set changelogList = collections["changelog 2023"] %}
{% include "main/changelogs-list.njk" %}
{% include "main/changelogs-list.html" %}

View File

@ -8,4 +8,4 @@ eleventyNavigation:
---
{% set changelogList = collections["changelog 2024"] %}
{% include "main/changelogs-list.njk" %}
{% include "main/changelogs-list.html" %}

View File

@ -8,4 +8,4 @@ eleventyNavigation:
---
{% set changelogList = collections["changelog 2025"] %}
{% include "main/changelogs-list.njk" %}
{% include "main/changelogs-list.html" %}

View File

@ -37,7 +37,7 @@ eleventyComputed:
<section class="content__section">
<h2>Link to My Website</h2>
{% include "main/my-button.njk" %}
{% include "main/my-button.html" %}
</section>
<section class="content__section">
@ -59,7 +59,7 @@ eleventyComputed:
</div>
<p>You can subscribe to the <a href="{{ sitemeta.feedPath }}"><svg class="inline-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 64C0 46.3 14.3 32 32 32c229.8 0 416 186.2 416 416c0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96C14.3 96 0 81.7 0 64zM0 416a64 64 0 1 1 128 0A64 64 0 1 1 0 416zM32 160c159.1 0 288 128.9 288 288c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/></svg>{{ sitemeta.siteName }} RSS feed</a> to get notified of the updates on this website, including new articles, blog posts and website changelogs.</p>
{% include "main/statuscafe.njk" %}
{% include "main/statuscafe.html" %}
</section>
<section class="content__section">
@ -87,7 +87,7 @@ eleventyComputed:
<section class="content__section">
<h2>Web Cliques</h2>
{% include "main/webcliques.njk" %}
{% include "main/webcliques.html" %}
</section>
<section class="content__section">
@ -210,5 +210,5 @@ eleventyComputed:
<section class="content__section">
<h2>Support Me</h2>
{% include "main/support-me.njk" %}
{% include "main/support-me.html" %}
</section>

View File

@ -5,7 +5,7 @@ toc: true
---
{% headingAnchor 3 %}Web Cliques{% endheadingAnchor %}
{% include "main/webcliques.njk" %}
{% include "main/webcliques.html" %}
{% headingAnchor 3 %}Fanlistings{% endheadingAnchor %}
<p>Check out <a href="https://fan.leilukin.com/">Beehive, my fanlisting collective</a> to see all the fanlistings I own, have joined or have applied to join.</p>

View File

@ -16,7 +16,7 @@ toc: true
<h4 class="visually-hidden">Websites with Buttons</h4>
<ul class="web-graphics">
{{ siteButton("https://karuma.me/", "sites/10kph.png", "10kph") }}
{{ siteButton("https://karma.computer/", "sites/10kph.png", "10kph") }}
{{ siteButton("https://alyaza.neocities.org/", "sites/alyaza.gif", "alyaza's birzeblog") }}
{{ siteButton("https://www.autisticasfxxk.com/", "sites/autisticasfxxk.gif", "Autistic As Fxxk") }}
{{ siteButton("https://ballonlea.net/", "sites/ballonlea.png", "Ballonlea") }}

View File

@ -1,7 +0,0 @@
---
layout: global/content
---
{{ content | safe }}
<p class="update-info">(This {{ keyword if keyword else "page" }} was last updated on <time datetime="{{ updated }}">{{ updated | formatDate }}</time>)</p>

View File

@ -7,7 +7,7 @@ eleventyNavigation:
---
## My Dear Summer Lover
{% from "asummersend/myplaylist.njk" import myASEPlaylist %}
{% from "asummersend/myplaylist.html" import myASEPlaylist %}
{{ myASEPlaylist("A fanmix for the visual novel") }}
## Mandopop LGBTQ+ Anthem [華語流行音樂同志國歌]{lang="zh"}

View File

@ -1,6 +1,6 @@
export default {
tags: "project pages",
layout: "main/content.njk",
layout: "main/content.html",
hasBreadcrumbs: true,
eleventyComputed: {
eleventyNavigation: {

View File

@ -44,5 +44,5 @@ Oracle and Bone compiled this playlist as a tribute to Anita Mui, who was a majo
## My Dear Summer Lover
{% from "asummersend/myplaylist.njk" import myASEPlaylist %}
{% from "asummersend/myplaylist.html" import myASEPlaylist %}
{{ myASEPlaylist("My fanmix for") }}

View File

@ -7,4 +7,4 @@ eleventyNavigation:
---
{% set contentList = collections.contents | reverse %}
{% include "main/archive.njk" %}
{% include "main/archive.html" %}

View File

@ -14,6 +14,6 @@ eleventyComputed:
<h2>{{ contentCount }} Contents Filed Under "{{ category }}"</h2>
{% set contentList = collections.contents | filterByCategory(category) | reverse %}
{% include "main/archive.njk" %}
{% include "main/archive.html" %}
<p>See <a href="/categories/">all content categories</a>.</p>

View File

@ -20,6 +20,6 @@ eleventyNavigation:
{{ log.content | safe }}
{%- endfor %}
{% include "global/pagination-oldnew.njk" %}
{% include "global/pagination-oldnew.html" %}
{%- css %}* + h2, * + h3 { margin-top: 1.5em; }{% endcss %}

View File

@ -33,7 +33,7 @@ More information about this site can be found on the following pages:
### Link to This Site
{% include "main/my-button.njk" %}
{% include "main/my-button.html" %}
{% endcontainer %}
{% container "article", "content__section" %}
@ -76,5 +76,5 @@ Other online platforms you can find me on:
### Support Me
{% include "main/support-me.njk" %}
{% include "main/support-me.html" %}
{% endcontainer %}

View File

@ -40,7 +40,7 @@ eleventyComputed:
{% endfor %}
</ul>
{% include "global/pagination-oldnew.njk" %}
{% include "global/pagination-oldnew.html" %}
</section>
{%- css %}

View File

@ -1,5 +1,5 @@
---
layout: main/links.njk
layout: main/links
title: Links
desc: A curated collection of links.
hasTooltips: true