From b00310037aed14c961b5125764d4e9ce172a53c3 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:05:18 +0800 Subject: [PATCH] Add colophon page --- src/changelogs/logs/2024/2024-06-07.md | 3 +- src/statements/colophon.md | 60 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/statements/colophon.md diff --git a/src/changelogs/logs/2024/2024-06-07.md b/src/changelogs/logs/2024/2024-06-07.md index e7dbc2d9..495f1d00 100644 --- a/src/changelogs/logs/2024/2024-06-07.md +++ b/src/changelogs/logs/2024/2024-06-07.md @@ -2,4 +2,5 @@ date: 2024-06-07 --- -* Update Leilukin's Hub's site button. This time, I made my site button myself by using Adobe Photoshop CS5. \ No newline at end of file +* Update Leilukin's Hub's site button. This time, I made my site button myself by using Adobe Photoshop CS5. +* Add a [colophon page](/colophon). \ No newline at end of file diff --git a/src/statements/colophon.md b/src/statements/colophon.md new file mode 100644 index 00000000..80c724be --- /dev/null +++ b/src/statements/colophon.md @@ -0,0 +1,60 @@ +--- +title: Colophon +keyword: colophon page +updated: 2024-06-07 +eleventyNavigation: + order: 13 +--- + +Technical information about this website. + +## Build +* Built with the static site generator [Eleventy](https://www.11ty.dev/) +* Templating languages: Nunjucks and Markdown +* Code written with Visual Studio Code +* JavaScript runtime: [Bun](https://bun.sh) +* Source code available on [GitHub](https://github.com/helenclx/leilukin-site) + +## Hosting and Domain +* Deployed to [Netlify](https://www.netlify.com/) from its GitHub repository +* The domain name, `{{ sitemeta.siteDomain }}`, was purchased from, registered on, and is managed by [Porkbun](https://porkbun.com/) + +## Plugins +- Eleventy's official [RSS](https://www.11ty.dev/docs/plugins/rss/) plugin +- Eleventy's official [Navigation](https://www.11ty.dev/docs/plugins/navigation/) plugin +- [@zachleat/details-utils](https://www.npmjs.com/package/@zachleat/details-utils) + +### Eleventy Community Plugins +- [@11tyrocks/eleventy-plugin-emoji-readtime](https://www.npmjs.com/package/@11tyrocks/eleventy-plugin-emoji-readtime) +- [eleventy-plugin-embed-everything](https://www.npmjs.com/package/eleventy-plugin-embed-everything) +- [eleventy-plugin-metagen](https://www.npmjs.com/package/eleventy-plugin-metagen) +- [@uncenter/eleventy-plugin-toc](https://www.npmjs.com/package/@uncenter/eleventy-plugin-toc) + +### markdown-it plugins +- [markdown-it-anchor](https://www.npmjs.com/package/markdown-it-anchor) +- [markdown-it-attribution](https://www.npmjs.com/package/markdown-it-attribution) +- [markdown-it-attrs](https://www.npmjs.com/package/markdown-it-attrs) +- [markdown-it-bracketed-spans](https://www.npmjs.com/package/markdown-it-bracketed-spans) +- [markdown-it-deflist](https://www.npmjs.com/package/markdown-it-deflist) +- [markdown-it-footnote](https://www.npmjs.com/package/markdown-it-footnote) + +## Self-hosted Assets +- [Lexend](https://www.lexend.com/) font family +- [Intel One Mono](https://www.intel.com/content/www/us/en/company-overview/one-monospace-font.html) typeface +- [Font Awesome](https://fontawesome.com/) (brand icons only) + +## JavaScript +Due to this website being built with a static site generator, JavaScript is used to create dynamic and interactive components of this site. Here is a list of how JavaScript is used on this site: + +* The header of every page uses JavaScript to detect the visitor's current date and dynamically displays a top blurb and occasionally changes the header background on certain dates, including: + * LGBTQ+ events, International Women's Day, website anniversary and webmaster's birthday; + * Release anniversaries of [{% cite "A Summer’s End — Hong Kong 1986" %}](/shrines/asummersend), [{% cite "Star Wars: Knights of the Old Republic" %}](/shrines/starwarskotor) and [{% cite "Cassette Beasts" %}](/shrines/cassettebeasts) on their respective shrines; + * Birthdays of characters from {% cite "A Summer’s End — Hong Kong 1986" %} on its shrine. +* When this site is viewed on mobile devices, the navigation bar utilises a button that uses JavaScript to toggle the display of the navigation links when the button is clicked. +* Every page has a button on the bottom right corner to allow you to quickly scroll to the top of the page. This scroll-to-top button uses JavaScript to show or hide the button based on scroll position. + * A "Back to top" link that does not use JavaScript is available on each page's bottom footer, but the JavaScript version allows visitors to quickly scroll to the top page without needing to reach the bottom footer. +* [Website Carbon Badge](https://www.websitecarbon.com/badge/), which is placed on the home page, uses JavaScript to calculate the carbon footprint of this website. +* [Focus First Webring](https://owlsroost.xyz/webring/index.html) and its widget, which is placed on the [Links page](/links), use the JavaScript webring template [onionring.js](https://garlic.garden/onionring/). +* [Guestbook](/guestbook) uses JavaScript to send form data to my private Discord channel via Discord webhook, and fetch data from Google Sheets to display messages on the web page (guestbook code by [Vera Konigin](https://groundedwren.neocities.org/pages/demo_controls/guestbookDemo)). + +You can still access most of the content of this site with JavaScript disabled, but the above components will not work as intended.