From 870af3e58cbfb8cbe047c894661c6ecf511ed220 Mon Sep 17 00:00:00 2001 From: Roglozor Date: Fri, 27 Nov 2026 04:56:53 +0000 Subject: Added new configuration in the layout file to insert a TOC into the left menu whenever it is needed, and added anchor links to the Home page. Will do other pages later as needed. --- _src/_includes/layout.html | 10 ++++++++++ _src/index.html | 25 +++++++++++++++++++------ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/_src/_includes/layout.html b/_src/_includes/layout.html index a69560a..9a79d65 100644 --- a/_src/_includes/layout.html +++ b/_src/_includes/layout.html @@ -49,6 +49,16 @@ Menu
+{% if toc %} +
+On This Page +{% for item in toc %} +{{item.title}} +{% endfor %} +
+
+{% endif %} +
Outgoing Links diff --git a/_src/index.html b/_src/index.html index ee114f7..74ec4aa 100644 --- a/_src/index.html +++ b/_src/index.html @@ -1,6 +1,19 @@ --- layout: layout.html extra_css: /assets/css/pokesprite-pokemon-gen8.css +toc: + - id: welcome + title: 1. Welcome + - id: about-me + title: 2. About Me + - id: projects + title: 3. Projects + - id: button-collection + title: 4. Button Collection + - id: hobbies-and-interests + title: 5. Hobbies & Interests + - id: favourite-pokemon + title: 6. Favourite Pokemon ---

Home @@ -73,7 +86,7 @@ style="image-rendering: pixelated;">
-

Welcome!

+

# Welcome!

Thanks for taking the time to visit my site! I don't have a whole lot to share right now, I'm still working on a lot of things quietly, but I'll slowly @@ -107,7 +120,7 @@ using generative "AI" or anything similar.

-

About Me

+

# About Me

I'm a British (derogatory) hobbyist of creating various digital media, primarily a game developer. Apparently I'm an INFP-T, I'm currently in my 20s, and @@ -136,7 +149,7 @@ and configuring most things manually.

-

Projects

+

# Projects

These are simply my main projects as of recent. Please see the dedicated Projects page for the complete list. @@ -165,7 +178,7 @@ This game is still being worked on, so I don't have much to show yet!

-

Button Collection

+

# Button Collection


My Own Buttons

@@ -357,7 +370,7 @@ I just found them during my travels on the web and liked them.
-

Hobbies & Interests

+

# Hobbies & Interests

The general gist of my more creative side is already covered above, which are also just hobbies. This section is more of a catch-all for anything else that @@ -478,7 +491,7 @@ everything fuck you.

-

Favourite Pokemon!

+

# Favourite Pokemon!

I like WAY too many of these lil' guys so I'm limiting it to my top 6 in various categories. -- cgit v1.2.3