From 329c934b371c8ceb9f115cdc68871e14cf32be1c Mon Sep 17 00:00:00 2001 From: Rob Hand <146272+sinon@users.noreply.github.com> Date: Wed, 27 Aug 2025 21:22:18 +0100 Subject: [PATCH] Add About and Now page --- config.toml | 2 ++ content/pages/_index.md | 2 ++ content/pages/about.md | 13 +++++++++++++ content/pages/now.md | 33 +++++++++++++++++++++++++++++++++ justfile | 6 +++++- templates/about.html | 31 +++++++++++++++++++++++++++++++ 6 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 content/pages/_index.md create mode 100644 content/pages/about.md create mode 100644 content/pages/now.md create mode 100644 templates/about.html diff --git a/config.toml b/config.toml index 632adf8..44b9c8d 100644 --- a/config.toml +++ b/config.toml @@ -27,6 +27,8 @@ author = "Rob Hand" codeblock = true after_dark_menu = [ { name = "Home", url = "$BASE_URL" }, + { name = "About", url = "$BASE_URL/about/" }, + { name = "Now", url = "$BASE_URL/now/" }, { name = "Tags", url = "$BASE_URL/tags" }, { name = "Source", url = "https://github.com/sinon/sinon.github.io" }, { name = "GitHub", url = "https://github.com/sinon" }, diff --git a/content/pages/_index.md b/content/pages/_index.md new file mode 100644 index 0000000..f7ba421 --- /dev/null +++ b/content/pages/_index.md @@ -0,0 +1,2 @@ ++++ ++++ \ No newline at end of file diff --git a/content/pages/about.md b/content/pages/about.md new file mode 100644 index 0000000..b9ccf08 --- /dev/null +++ b/content/pages/about.md @@ -0,0 +1,13 @@ ++++ +title = "About" +date = 2025-08-27 +template = "about.html" +sort_by = "none" +path = "about" ++++ + +I am Rob Hand, a Staff Software Engineer currently working on Personalisation at M&S. Enjoy learning new things and using those things to solve more complex problems. + +For an (hopefully) more up to date snapshot see [Now](../now) page. + +You can find me on [GitHub](https://github.com/sinon) or send me [a message on Bluesky](https://bsky.app/profile/sinon-rh.bsky.social). My CV is available [here](https://raw.githubusercontent.com/sinon/CV/main/cv.pdf). diff --git a/content/pages/now.md b/content/pages/now.md new file mode 100644 index 0000000..34daffc --- /dev/null +++ b/content/pages/now.md @@ -0,0 +1,33 @@ ++++ +title = "Now" +date = 2025-08-27 +template = "about.html" +sort_by = "none" +path = "now" ++++ + +__(This is [a now page](https://nownownow.com/about), and if you have your own site, [you should make one](https://nownownow.com/about), too.)__ + +* reading: Children of Memory - Adrian Tchaikovsky +* watching: Nothing regular since Andor Season 2, looking forward to season 2 of Fallout +* learning: [RustšŸ¦€](https://www.rust-lang.org/) and [Gleam⭐](https://gleam.run/). +* writing: Attempting to build the habit of Journaling with the help of [LogSeq](https://logseq.com/) +* listening: See on [Last.fm](https://www.last.fm/user/robz88) +* playing: Mainly Roguelike games that require less time commitment such as: [Astral Ascent](https://store.steampowered.com/app/1280930/Astral_Ascent/) or [Risk of Rain 2](https://store.steampowered.com/app/632360/Risk_of_Rain_2/) + +Continuing to try and spend more time on hobbies instead of doomsrolling or watching too much YouTube once the work day is over and the kids are put to bed. ~~Not always~~ **Rarely** succeeding. + +Current Projects: +* [loxide](https://github.com/sinon/loxide) - Implementing an interpreter for lox language from https://craftinginterpreters.com/ in Rust. At the point of adding support for user defined functions. +* [z2p-axum](https://github.com/sinon/z2p-axum) - Following along with the Zero to Prod book but re-implementing the application in Axum instead of Actix. + +Finished: +* [chip8](https://github.com/sinon/chip8) - A [Chip-8](https://en.wikipedia.org/wiki/CHIP-8) interpreter written in no-std Rust. +* [gridlife](https://github.com/sinon/gridlife) - A library for Conways Game of Life in Rust with a TUI to simulate random configurations. +* [pngme](https://github.com/sinon/pngme/) - Implementation of https://jrdngr.github.io/pngme_book/ which became my go to testing/learning project. Expanded the original with: GUI, Python library binding and crate splitting the project. + +On Hold: +* [snake](https://github.com/sinon/snake) - A snake clone TUI built using Ratatui + + +Last updated on 27th August 2025. diff --git a/justfile b/justfile index 8683909..787c1c8 100644 --- a/justfile +++ b/justfile @@ -1,2 +1,6 @@ clean-gps: - exiftool -gps:all= static/*.jpg \ No newline at end of file + exiftool -gps:all= static/*.jpg + +lint: + uvx codespell -I .codespellignore content/ + lychee -v content/*.md \ No newline at end of file diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..a1fcfcd --- /dev/null +++ b/templates/about.html @@ -0,0 +1,31 @@ +{% extends "after-dark/templates/page.html" %} + +{% block content %} +{% block header %} +{{ super() }} +{% endblock header %} + +
+
+ {{ page.content | safe }} +
+
+ +{% endblock content %} + +{% block meta_content %} +{% if current_path %} + +{% endif %} +{% if page.title %} + +{% else %} + +{% endif %} +{% if page.description %} + +{% endif %} +{% if page.taxonomies.tags %} + +{% endif %} +{% endblock meta_content %} \ No newline at end of file