M .gitignore => .gitignore +1 -0
@@ 5,3 5,4 @@
/out/**/*
/tmp/**/*
+/publish
M Makefile => Makefile +8 -8
@@ 14,35 14,35 @@ darkhttpd:
curl $(DEVSERVER) > darkhttpd.c
$(CC) -O2 darkhttpd.c -o darkhttpd
-mkpage: kethel2/mkpage.c
+mkpage: kethel2/mkpage.c include/stdhead.html include/stdnav.html include/stdfooter.html
mkdir -p ./tmp
$(CC) $(CFLAGS) -c kethel2/mkpage.c -o tmp/mkpage.o
$(CC) $(CFLAGS) tmp/mkpage.o -o mkpage
-
aggregate: kethel2/aggregate.c
$(CC) $(CFLAGS) -c kethel2/aggregate.c -o tmp/aggregate.o
$(CC) $(CFLAGS) tmp/aggregate.o -o aggregate
+# TODO: manage statics in a better way than `cp -r`
static:
cp -r static out/static
# list of all pages
-pages: out/index.html out/colophon.html out/thoughts.html out/blog/index.html out/blog/helloworld.html
+pages: out/index.html out/colophon.html out/thoughts.html out/blog/index.html out/blog/helloworld.html static
-out/index.html: index.html
+out/index.html: index.html mkpage
./mkpage index.html out/index.html
-out/colophon.html: colophon.html
+out/colophon.html: colophon.html mkpage
./mkpage colophon.html out/colophon.html
-out/thoughts.html: thoughts/data.tsv thoughts/item.html thoughts/index.html
+out/thoughts.html: thoughts/data.tsv thoughts/item.html thoughts/index.html aggregate mkpage
./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
+out/blog/index.html: blog/data.tsv blog/index.html blog/item.html aggregate mkpage
./aggregate blog/data.tsv blog/item.html blog/index.html tmp/blogroll.o.html
./mkpage tmp/blogroll.o.html out/blog/index.html
-out/blog/helloworld.html: blog/helloworld.html
+out/blog/helloworld.html: blog/helloworld.html mkpage
./mkpage blog/helloworld.html out/blog/helloworld.html
M TODO => TODO +8 -0
@@ 1,3 1,11 @@
- media reviews n so
- gallery
- atom feeds
+
+atom feed is NEARLYYY done for /microblog, /macroblog still needs some work
+
+/reviews is generally a more specialised form of blog, maybe cool stats?
+steam-esque reviews as in REC/NREC.
+
+/gallery more as a "media lookup", with all <img>s from blogposts linking to here
+semi-wikimedia-esque
M colophon.html => colophon.html +14 -9
@@ 9,19 9,24 @@
<!--LOAD include/stdnav.html -->
<main>
<h1>colophon</h1>
- <blockquote cite="https://brutalist-web.design/">
- [...] start with left-aligned black text on a white background, and to apply styling only to solve a specific problem.
- <br> <em> - <a href="https://brutalist-web.design/">Brutalist Web Design</a></em>
- </blockquote>
+ <figure>
+ <blockquote cite="https://brutalist-web.design/">
+ [...] start with left-aligned black text on a white background, and to apply styling only to solve a specific problem.
+ </blockquote>
+ <figcaption>
+ <em> - <a href="https://brutalist-web.design/">Brutalist Web Design</a></em>
+ </figcaption>
+ </figure>
+
<p>
- 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.
+ The current iteration of m1kadev.nl is an experiment, to see how far i could get by using
+ as little javascript and css, and with as little intermediate steps as possible, while still
+ having a functional site
</p>
<p>Used technologies:</p>
<ul>
- <li><code>make</code> (BSD) - as to not rebuild half the site for 1 change</li>
- <li>C99 - the build system is (as of 13/09/2026) only 70 lines of 100% POSIX C</li>
+ <li><code>make</code> - as to not rebuild half the site for 1 change</li>
+ <li><code>mkpage</code> and <code>aggregate</code> - 2 C programs, which generate single pages and page indices, respectively.</li>
<li><code>darkhttpd</code> - the development http server</li>
</ul>
</main>
M => +1 -1
@@ 1,3 1,3 @@
<footer>
<p>Built with Make and C99. <a href="/colophon.html">colophon</a>.</p>
<p>Built with <code>make</code> and 2 C programs. <a href="/colophon.html">colophon</a>.</p>
</footer>
M include/stdnav.html => include/stdnav.html +1 -0
@@ 7,5 7,6 @@
<a href="/thoughts.html">microblog</a> |
<a href="/art/index.html">art</a> |
<a href="/review/index.html">media</a> |
+ <a href="/colophon.html">colophon</a>
</nav>
</header>
M thoughts/data.tsv => thoughts/data.tsv +1 -1
@@ 1,2 1,2 @@
rowid BODY AUTHOR DATE
-0 we always call it the 'fridge',, Howevere, why do we not call outside the 'warmdge' ? mika Tue, 15 Sep 16:31:15 2026 +0200
+0 we always call it the 'fridge',, Howevere, why do we not call outside the 'warmdge' ? mika 2026-09-15T16:31:15+02:00
M thoughts/index.html => thoughts/index.html +1 -1
@@ 9,7 9,7 @@
<!--LOAD include/stdnav.html -->
<main>
<h1>microblog :3</h1>
- <p>i have no twitter and i must post</p>
+ <p>i have no twitter and i must post, please subscribe to my atom feed :)</p>
<!-- PUT -->
</main>
<!--LOAD include/stdfooter.html -->