From 2ed4a4f13ba28fd55636c98cd6dae4bc9d854c12 Mon Sep 17 00:00:00 2001 From: Jake Holtham Date: Tue, 24 Mar 2026 14:00:16 -0400 Subject: [PATCH] Moved more of the logic around so now the plain and normal pages actually share a markdown source. Removed the site.json with some canned information, just going to inline that data myself. --- .eleventy.js | 5 +++++ README.md | 4 +++- src/_data/site.json | 9 --------- src/_includes/base.njk | 2 +- src/_includes/plain.njk | 2 +- src/boring/about.md | 26 +------------------------- src/boring/contact.md | 16 +--------------- src/contact.md | 19 +++++++++++++++++++ src/index.njk | 19 +------------------ 9 files changed, 32 insertions(+), 70 deletions(-) delete mode 100644 src/_data/site.json create mode 100644 src/contact.md diff --git a/.eleventy.js b/.eleventy.js index b12cb06..82ad0f0 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -11,6 +11,11 @@ module.exports = function (eleventyConfig) { api.getFilteredByGlob("src/about.md") ); + // Collection: contact window content + eleventyConfig.addCollection("contactContent", (api) => + api.getFilteredByGlob("src/contact.md") + ); + // Collection: projects, sorted alphabetically by title eleventyConfig.addCollection("projects", (api) => api diff --git a/README.md b/README.md index fc67a84..fac725f 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,6 @@ The design is a love-letter to retro machines of the 80s. It's a fun mix of an i ## Functionality -The window manager works and properly embeds markdown files as they're needed. Each "program" on the desktop is a display-able markdown file. They're really just glorified page sections with a frame. \ No newline at end of file +The window manager works and properly embeds markdown files as they're needed. Each "program" on the desktop is a display-able markdown file. They're really just glorified page sections with a frame. + +The site has a "boring" mode, accessible via the "click if boring" button on the top right, and by the "plaintext version" option at the bottom of the windows. \ No newline at end of file diff --git a/src/_data/site.json b/src/_data/site.json deleted file mode 100644 index 6f8819d..0000000 --- a/src/_data/site.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "handle": "lordtet", - "author": "lordtet", - "tagline": "developer · tinkerer · human", - "bio": "I build things that are useful, interesting, or just plain fun. Fascinated by systems programming, the open web, and old hardware.", - "email": "you@example.com", - "github": "https://github.com/lordtet", - "pgp_fingerprint": "DEAD BEEF 1337 C0DE F00D CAFE BABE 0000 1234 5678 9ABC DEF0" -} diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 291ecb0..197aa25 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -3,7 +3,7 @@ - {{ title or "~/home" }} — {{ site.handle }} + guest@lordnet.sh diff --git a/src/_includes/plain.njk b/src/_includes/plain.njk index 838acf2..1b7d8a3 100644 --- a/src/_includes/plain.njk +++ b/src/_includes/plain.njk @@ -3,7 +3,7 @@ - {{ title or "plain" }} — {{ site.handle }} + lordnet.sh