From 4deb92bbb6b5ba1cf4d2ab26e28f3d564a67308d Mon Sep 17 00:00:00 2001 From: mika Date: Tue, 15 Sep 2026 15:59:20 +0200 Subject: [PATCH] blogroll --- .gitignore | 4 ++-- Makefile | 12 +++++++++--- blog/data.tsv | 2 ++ blog/index.html | 22 ++++++++++++++++++++++ blog/item.html | 11 +++++++++++ colophon.html | 4 ++-- include/stdfooter.html | 3 +-- include/stdnav.html | 1 + index.html | 7 ++++--- kethel2/aggregate.c | 4 ++++ thoughts/index.html | 2 ++ thoughts/item.html | 1 + todo | 4 ++++ 13 files changed, 65 insertions(+), 12 deletions(-) create mode 100644 blog/data.tsv create mode 100644 blog/index.html create mode 100644 blog/item.html create mode 100644 todo diff --git a/.gitignore b/.gitignore index d2775b61883e5fc2e281bb0a246ee48827c762d9..e818da1791c7ba40d0fed6e66b1d765da36372c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /mkpage /mkpage.o -/out /darkhttpd* -/tmp /aggregate +/out/**/* +/tmp/**/* diff --git a/Makefile b/Makefile index 6fcee6be62054823a5c5271e868a5c66b8f59a95..8d88f4d635945a532f52d694c80f68975f96d0b4 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,9 @@ CFLAGS=-Wall -Wextra -Werror -pedantic -O2 -std=c99 DEVSERVER='https://raw.githubusercontent.com/emikulic/darkhttpd/refs/heads/master/darkhttpd.c' -.PHONY: all serve +.PHONY: all serve pages -all: mkpage aggregate out/index.html out/colophon.html out/thoughts.html +all: mkpage aggregate pages serve: all darkhttpd ./darkhttpd out @@ -25,6 +25,9 @@ aggregate: kethel2/aggregate.c $(CC) $(CFLAGS) tmp/aggregate.o -o aggregate # list of all pages + +pages: out/index.html out/colophon.html out/thoughts.html out/blog/index.html + out/index.html: index.html ./mkpage index.html out/index.html @@ -32,6 +35,9 @@ out/colophon.html: colophon.html ./mkpage colophon.html out/colophon.html out/thoughts.html: thoughts/data.tsv thoughts/item.html thoughts/index.html - mkdir -p ./tmp ./aggregate thoughts/data.tsv thoughts/item.html thoughts/index.html tmp/thoughts.o.html ./mkpage tmp/thoughts.o.html out/thoughts.html + +out/blog/index.html: blog/data.tsv blog/index.html blog/item.html + ./aggregate blog/data.tsv blog/item.html blog/index.html tmp/blogroll.o.html + ./mkpage tmp/blogroll.o.html out/blog/index.html diff --git a/blog/data.tsv b/blog/data.tsv new file mode 100644 index 0000000000000000000000000000000000000000..3ebe9b2a6a7808ec510c8a82aa2bff937840b557 --- /dev/null +++ b/blog/data.tsv @@ -0,0 +1,2 @@ +rowid LINK TITLE SUMMARY +0 /blog/helloworld.html Hello, world! Testing blog post :3 diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000000000000000000000000000000000000..c56b1dd06d0c2514ac673ab61e29ebfc8a3aca2d --- /dev/null +++ b/blog/index.html @@ -0,0 +1,22 @@ + + + + + blogroll - m1kadev.nl + + + + +
+

blogroll

+

+ Voici, mes amies, my assorti des essais. +

+ +
+
+ + + diff --git a/blog/item.html b/blog/item.html new file mode 100644 index 0000000000000000000000000000000000000000..1f5cfb393cf6ad8b1dc15499840641879699927e --- /dev/null +++ b/blog/item.html @@ -0,0 +1,11 @@ + +

+ + + +

+ +

+ +

+ diff --git a/colophon.html b/colophon.html index f0cac689080d20c99c916118bcbf7fd3f6a0b6e5..8748345f6939eaf624d6b036553f793ba9d1b7fe 100644 --- a/colophon.html +++ b/colophon.html @@ -16,16 +16,16 @@

The current iteration of m1kadev.nl was an experiment, to see how far one could get by using as little javascript and css possible, with as little build steps as possible. Which I think - I've succeeded in rather well. This entire site uses only one (!) CSS rule at the moment. + I've succeeded in rather well.

Used technologies:

+
diff --git a/include/stdfooter.html b/include/stdfooter.html index 887891d6e9bee7c9004c3973f27063af27e4bc6c..cdd7f8a4429174526111c5743762a77705b22578 100644 --- a/include/stdfooter.html +++ b/include/stdfooter.html @@ -1,4 +1,3 @@ -
diff --git a/include/stdnav.html b/include/stdnav.html index 49dd2067aa1abc78df34db621cdf1b98ad285090..a0336046879e8df677e0a3f9350b7b78216ccc6c 100644 --- a/include/stdnav.html +++ b/include/stdnav.html @@ -5,6 +5,7 @@ root | macroblog | microblog | + art | media | diff --git a/index.html b/index.html index 856bd63e2ec05481f931cbc999fecb5d59b39356..d5e76ab8aee6703e3da9d558b056d11dbbbe4a79 100644 --- a/index.html +++ b/index.html @@ -8,15 +8,15 @@
-

+

Welcome, sit down and grab a BREW! -

+

I'm currently in my exam year of highschool (VWO-NT/NG). - However, this hasn't stopped me from shitposting on main, vagueposting on main, + However, this hasn't stopped me from shitposting on main, vagueposting on main, and livetweeting about the latest game/series/film i've watched.

@@ -25,6 +25,7 @@
-mika

+
diff --git a/kethel2/aggregate.c b/kethel2/aggregate.c index 53cf900d4d6b816e5c38dec93103fe289eaf1f31..cef3542ba8c97bd8e3c1be8fcc543403903cffcb 100644 --- a/kethel2/aggregate.c +++ b/kethel2/aggregate.c @@ -75,6 +75,10 @@ void write_item_data(char* restrict row, const char* restrict template, FILE* ou int offset = strlen("
+

microblog :3

+

i have no twitter and i must post

diff --git a/thoughts/item.html b/thoughts/item.html index 724e6330546270fd5d7872d18a301fc27a7af2c6..e5d80f2f15addbf34908476ceb4d05f3c23ccb0f 100644 --- a/thoughts/item.html +++ b/thoughts/item.html @@ -8,3 +8,4 @@ +
diff --git a/todo b/todo new file mode 100644 index 0000000000000000000000000000000000000000..36ce596c546ac1db467b799e3b447ab2333eb25f --- /dev/null +++ b/todo @@ -0,0 +1,4 @@ +- reviews +- art / pictures +- rss +- done :)