~aasg/haunted-blog

b37dddcb — Aluísio Augusto Silva Gonçalves 2 days ago master
posts/lri-log-2021w18: New post
53f77e80 — Aluísio Augusto Silva Gonçalves 12 days ago
haunt: Pass `--section-divs` to Pandoc

Make posts' HTML more semantic by delimiting sections.
982c23e6 — Aluísio Augusto Silva Gonçalves 12 days ago
haunt: Defer TOC generation to Pandoc

When using [`--section-divs`], Pandoc outputs HTML that is not
compatible with our homegrown TOC generation algorithm (namely,
it attaches an ID to the parent section element instead of the
heading element).  Rather than try to fix it, use Pandoc's own
table of contents.

Note that TOC generation must be always enabled for the HTML writer,
for [it does not look at the `toc` option in metadata][pandoc#6664].
However, we can still use it in our custom TOC template to determine
if a TOC must be printed at all.

[`--section-divs`]: https://pandoc.org/MANUAL.html#option--section-divs
[pandoc#6664]: https://github.com/jgm/pandoc/issues/6664
1b76038e — Aluísio Augusto Silva Gonçalves 15 days ago
flake/production: Update Content-Security-Policy
f05c766b — Aluísio Augusto Silva Gonçalves 16 days ago
posts/lri-log-2021w16: New post
49703cc2 — Aluísio Augusto Silva Gonçalves 20 days ago
ci: Trigger SnowWeb redeployment on successful build
3bd6c606 — Aluísio Augusto Silva Gonçalves 20 days ago
flake: Add SnowWeb headers to production build

Set up additional HTTP headers served from https://aasg.name.
06419c17 — Aluísio Augusto Silva Gonçalves 22 days ago
flake: Add a 'production' package

The production package will be what actually goes live on
https://aasg.name.  At the moment, the two differences from the default
package are the inclusion of Matrix-related well-known links (which only
make sense on the live domain) and the Brotli compression of HTML/CSS/JS
files.  No more changes should happen aside from more well-known links.
8304e775 — Aluísio Augusto Silva Gonçalves 28 days ago
haunt: Copy over anything in the static directory

Rather than specify directories individually in haunt.scm and risk
forgetting to update it when we add a new subdirectory in the future,
just scoop it up as a whole.
88b9d9f4 — Aluísio Augusto Silva Gonçalves 27 days ago
pages/dn42: Remove mention of Charybdis as IPv4-only

Since nixos-configurations@c00b0c7c8c3f, we're now using Oracle Cloud's
just-announced IPv6 support instead of Hurricane Electric's tunnel,
which means peers can now connect over IPv6 without first travelling
to Miami.
869f516b — Aluísio Augusto Silva Gonçalves 30 days ago
Set post dates in UTC

There was some confusion as to whether to tag post dates in UTC
or in the local timezone.  After reading Guile's SRFI-19 docs
and experimenting on the REPL, I've determined that Haunt will
read post dates in the local timezone by default, but since that's
UTC in the Nix build environment, our post dates too must be in UTC.
359f48f9 — Aluísio Augusto Silva Gonçalves 30 days ago
New post: lri-log-2021w14
3a96289c — Aluísio Augusto Silva Gonçalves a month ago
pages/dn42: Add host 'chernava'
9064e128 — Aluísio Augusto Silva Gonçalves a month ago
posts/lri-log-2021w13: Fix caddy-reimport.path

The path unit as written is not started on boot and does not trigger
on symlink changes.  Fix both issues.
a392e0ca — Aluísio Augusto Silva Gonçalves a month ago
haunt: Reword license statement in the footer

Now that we have a work name, we can follow the Creative Commons default
text more closely.
d704407c — Aluísio Augusto Silva Gonçalves a month ago
haunt: Link to source commit in the site footer
81a5b65d — Aluísio Augusto Silva Gonçalves a month ago
New post: lri-log-2021w13
38c77d78 — Aluísio Augusto Silva Gonçalves a month ago
css: Unfix the header bar from the viewport

Fixing its interaction with direct section links, and how the fix
interacts with links in the paragraph before a heading, wasn't worth
the total effort that would be spent on it.  Maybe if I someday add one
of those reading trackers for long-form articles (of which I have none)
I'll revisit this.
66687315 — Aluísio Augusto Silva Gonçalves a month ago
New post: lri-log-2021w12
f2aa140b — Aluísio Augusto Silva Gonçalves 2 months ago
flake: Provide an empty install phase

If `dontInstall` is enabled, the install hooks are not run.  We'll be
needing those elsewhere so provide an install phase that just run the
hooks.
0bd03552 — Aluísio Augusto Silva Gonçalves 2 months ago
flake: Run build phase hooks

Despite [RFC 32] being accepted, it doesn't seem to have been
implemented yet, so we need to call the pre- and post-build hooks
manually.

[RFC 32]: https://github.com/NixOS/rfcs/blob/master/rfcs/0032-run-phase-changes-for-better-nix-shell-use.md
Next