Convert shrine index page to Nunjucks file

This commit is contained in:
Helen Chong 2024-06-13 17:27:54 +08:00
parent e3eeac796d
commit 44165dcefb
2 changed files with 23 additions and 23 deletions

View File

@ -1,23 +0,0 @@
---
title: Shrines
eleventyNavigation:
order: 7
eleventyComputed:
desc: Index of {{ sitemeta.siteAuthor.name }}'s web shrines.
---
A web shrine is a special web page dedicated to a specific topic, often one that the webmaster is interested in and passionate about, to celebrate or share information about their interest.
Here is a list of shrines I have made for my own website.
## [{% cite "A Summers End — Hong Kong 1986" %}](./asummersend/)
![Key art of A Summers End — Hong Kong 1986](/assets/shrines/asummersend/images/ASE_Key_art_intro.avif){loading="lazy"}
## [{% cite "Star Wars: Knights of the Old Republic" %}](./starwarskotor/)
![Key art of the Star Wars: Knights of the Old Republic series](/assets/shrines/starwarskotor/images/swkotor-header.avif){loading="lazy"}
## [{% cite "Cassette Beasts" %}](./cassettebeasts/)
![Key art of Cassette Beasts](/assets/shrines/cassettebeasts/images/CassetteBeasts_keyart_16_9.avif){loading="lazy"}

23
src/pages/shrines.njk Normal file
View File

@ -0,0 +1,23 @@
---
title: Shrines
eleventyNavigation:
order: 7
eleventyComputed:
desc: Index of {{ sitemeta.siteAuthor.name }}'s web shrines.
---
<p>A web shrine is a special web page dedicated to a specific topic, often one that the webmaster is interested in and passionate about, to celebrate or share information about their interest.</p>
<p>Here is a list of shrines I have made for my own website.</p>
<h2><a href="./asummersend/">{% cite "A Summers End — Hong Kong 1986" %}</a></h2>
<img src="/assets/shrines/asummersend/images/ASE_Key_art_intro.avif" alt="Key art of A Summers End — Hong Kong 1986" loading="lazy">
<h2><a href="./starwarskotor/">{% cite "Star Wars: Knights of the Old Republic" %}</a></h2>
<img src="/assets/shrines/starwarskotor/images/swkotor-header.avif" alt="Key art of the Star Wars: Knights of the Old Republic series" loading="lazy">
<h2><a href="./cassettebeasts/">{% cite "Cassette Beasts" %}</a></h2>
<img src="/assets/shrines/cassettebeasts/images/CassetteBeasts_keyart_16_9.avif" alt="Key art of Cassette Beasts" loading="lazy">