Commit graph

8 commits

Author SHA1 Message Date
Gered 6e3eae7abd switch from json to yaml
yaml is just easier to write by hand, and since we're using it for
files which are all meant to be written/edited by hand, it seems like
a no-brainer.
2023-06-28 17:38:41 -04:00
Gered 1fbdab9c58 rename "old urls" to "alternate urls" 2023-06-28 17:12:36 -04:00
Gered 7ad5beb717 add a bit more content to the example site for testing purposes 2023-06-28 17:07:00 -04:00
Gered 9d2af25c81 improve how posts and pages are referenced internally
since most often, we need to get posts sorted in descending order by
date, we now just store the actual posts in a Vec, pre-sorted by date.
everything else that needs to reference posts now does so by the post's
index in that Vec.

pages are also changed to be stored/referenced in a similar manner, but
it is somewhat less important for pages since we don't do any real
enumeration of pages at all anywhere. but it's nice to be consistent.
2023-06-28 16:59:10 -04:00
Gered b144813654 tweak example site css styling a bit 2023-06-28 15:16:44 -04:00
Gered 83d75d4885 represent post dates as a NaiveDateTime, still allowing for date-only
posts can be specified with a date only, or date and time as desired.
it is up to the site's specific template to render posts with an
appropriate date/time format string based on what the author's
preferences
2023-06-28 15:16:29 -04:00
Gered 3f18b2a58a add example site config and content 2023-06-27 17:18:52 -04:00
Gered 4c3fc25e50 initial commit
basically works, but still missing things. as well as some (much?) code
being kinda janky
2023-06-27 17:15:58 -04:00