Commit Graph

14 Commits

Author SHA1 Message Date
9523d039a7 style.css: reformat; use color vars; style the nav 2022-01-04 10:02:17 -08:00
d3abb3e90b projects: reformat, and remove link to self 2022-01-04 09:54:25 -08:00
0248079019 projects: small fixes 2022-01-04 09:53:51 -08:00
9d77008885 index: reformat and add some links 2022-01-04 09:52:33 -08:00
05b50d5c5f Switch to Makefile + ssg build system; add a dynamic nav
The old build system worked, but ssg adds some features while still
being simple and easy to hack on:

* set page title from the h1 tag, rather than the file name
* generate a sitemap (which we adapt to also generate a nav)

This site doesn't need a dynamic nav, but the Anarchy Planet docs site
will have a lot of rapidly changing pages and will benefit from a
dynamic nav. This way we can use the same build system for both
sites.
2022-01-04 09:39:23 -08:00
5f0252aedc document lowdown as dependency; add some error handling 2021-12-08 15:47:09 -08:00
f596aa50b3 Switch to lowdown for markdown conversion
Lowdown is fairly simple while supporting the PHP Extra extensions.

It also comes with extensive documentation in its man pages, for example
the whole language is described in lowdown(5).

See https://kristaps.bsd.lv/lowdown/

This fixes a big TODO (anchor links for the table of contents on the
webring page).
2021-11-30 20:42:35 -08:00
98f748bff8 remove TODO for fixing publish.sh 2020-09-22 10:41:16 -07:00
07b95bf881 add projects, update contact link to email 2020-09-14 18:19:40 +00:00
fedb059fdb use markdown(1) and cat(1) to build the html
* add an empty footer
    * add a minimal html header
    * indent the nav
    * modify the build process (publish.sh):
      * use a tmp directory
      * use discount markdown(1) rather than discount mkd2html(1)
      * generate html page title from the file name
      * indent html body
      * use cat(1) to combine the pieces
    * remove trailing newlines in publish.sh
    * git ignore tmp/ directory
2020-09-14 10:16:48 -07:00
fca71a607c fix closing </nav> tag 2020-09-14 09:38:13 -07:00
0c1b9b1df0 add https:// to website links 2020-09-13 22:22:55 -07:00
ec923b909c fix links 2020-09-13 18:18:52 -07:00
c3c64d7de8 first commit 2020-09-13 17:50:28 -07:00