From 1acf6f63f09dcca0b65ea41d5e0f091dde1f579e Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 27 May 2024 19:43:40 +0800 Subject: [PATCH] Recreate site button template --- src/_includes/main/site-btn.njk | 5 +++++ src/pages/about.md | 8 ++++---- src/pages/links.njk | 4 +--- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 src/_includes/main/site-btn.njk diff --git a/src/_includes/main/site-btn.njk b/src/_includes/main/site-btn.njk new file mode 100644 index 00000000..ca16a1d0 --- /dev/null +++ b/src/_includes/main/site-btn.njk @@ -0,0 +1,5 @@ +

You can link to my website with the following button. I would recommend you to host my site button in your own website instead of hotlinking it.

+ +Button of Leilukin's Hub + +

(Credit to hekate2 for their 88x31 Web Button Maker!)

\ No newline at end of file diff --git a/src/pages/about.md b/src/pages/about.md index 365991b5..5e7165a6 100644 --- a/src/pages/about.md +++ b/src/pages/about.md @@ -17,14 +17,14 @@ On this site, you can find various stuff I have created or curated, as well as a Feel free to drop a message and say hi on [my guestbook](/guestbook)! -You can link to my website with the following button. I would recommend you to host my site button in your own website instead of hotlinking it. - -![Button of Leilukin's Hub](/assets/leilukin/Leilukins-Hub-button.png) - If you also have a Neocities account, you can follow this site through its [Neocities profile](https://neocities.org/site/leilukin). ![A website button with Penelope the cat, the mascot of Neocities, and the text 'hosted by neocities'](/assets/banners/hosted-by-neocities.png "Hosted by Neocities") +### Link to This Site + +{% include "main/site-btn.njk" %} + ### Accessibility Information While this website is primarily meant to be my own space of self-expression, I also strive to make my website accessible to provide the best possible user experience. You can read my [accessibility statement](/acessibility/) for more info. diff --git a/src/pages/links.njk b/src/pages/links.njk index db905db8..5eacb6e8 100644 --- a/src/pages/links.njk +++ b/src/pages/links.njk @@ -10,9 +10,7 @@ eleventyNavigation:

Link to My Website

-

You can link to my website with the following button. I would recommend you to host my site button in your own website instead of hotlinking it.

- - Button of Leilukin's Hub + {% include "main/site-btn.njk" %}