This site is written and published using Pollen. Many thanks to Joel Dueck for indirectly helping to create the RSS feed through his code.
If you want to discuss anything, shoot me an email, or text me on Telegram.
All posts licensed under CC BY-NC-SA 4.0. Code examples are, except otherwise noted, licensed under the MIT License.
Some things I’d like to add:
The macro will accept a list/hashmap of values (tuples?) denoting each column. Optionally, it will receive a list of header items.list/table support
We can use Racket’s This would prompt pollen to ask us for a password. It will take the body, encrypt it, and embed the metadata in the self-contained post encryption
read
/write
functions to ask the user for a password. When we want to password-protect a post, we could add a meta like so:◊(define-meta locked #t)
head
section so that javascript can decrypt it.
Use some js library to add color to code blocks.Syntax coloring
Add a “this page was last updated on XXX” to the about page. An idea is to just
track the “about” page, or maybe the index. Do we want to add this to every
page? In any case, some ideas are to use git for this. First: from racket, get the name of the file; second, get the last commit that touched the file, and the date. The command looks something like:Add “last updated”
git log -n 1 --pretty=format:%cD', ref '%H -- <file>
Borrowed from Joel’s The Local Yarn, series are “categories on steroids”,
that present the list of articles under the series in a different rendering,
with an (optional) introduction at the top. In a particular piece, I can say “This piece is part of ...”. Also, when browsing the pieces from a particular series, the snippet linking to the series should disappear.Series Ideas
Borrowed from Asciidoc’s code callouts, we could also add something similar (either in code, or in any piece of code). Do something similar to what Joel suggests about links, separating urls in separate tags. For us, we could have a tag that inserts the callout number, in a similar style to what we do for footnotes. Another tag inserts the comment. We can also make the callout numbers un-selectable.Add (code) callouts