diff options
| author | Christian Cleberg <[email protected]> | 2026-08-11 16:12:19 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-11 16:12:19 -0500 |
| commit | 3c9514a6070d0fc0c4b2ffda2eef30981f266e54 (patch) | |
| tree | 4ac2ca57a79e5fb8613cc2af4269e9f46f6916c3 /content/templates/reply.html | |
| parent | a26225589d9cda5328d70d7545e9919d3c0d3f8b (diff) | |
| download | cleberg.net-3c9514a6070d0fc0c4b2ffda2eef30981f266e54.tar.gz cleberg.net-3c9514a6070d0fc0c4b2ffda2eef30981f266e54.tar.bz2 cleberg.net-3c9514a6070d0fc0c4b2ffda2eef30981f266e54.zip | |
Make the reply footer a snippet, not a rule
Routing garden notes and /now/ through post.html put the invitation to reply on
them because a directory said so, which is the wrong thing to be automatic — it
is a choice about each page, and I had made it site-wide to chase parity with
the live site.
Those two rules are gone; blog posts keep it. The wording now lives in
templates/reply.html rather than inside post.html, so it can be edited or
emptied without touching how a post is built, and editing it re-renders the 170
pages that include it and nothing else.
Any page opts in for itself with `#+TEMPLATE: post.html`; any post opts out with
`#+TEMPLATE: base.html`.
Diffstat (limited to 'content/templates/reply.html')
| -rw-r--r-- | content/templates/reply.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/templates/reply.html b/content/templates/reply.html new file mode 100644 index 0000000..333ffdb --- /dev/null +++ b/content/templates/reply.html @@ -0,0 +1,8 @@ +{# The invitation to reply, kept apart from the layout so it can be edited, emptied or + dropped without touching how a post is built. + + Included by post.html, which the [[pages]] rule routes blog posts through. A page that + wants it elsewhere says `#+TEMPLATE: post.html` for itself; a post that does not want + it says `#+TEMPLATE: base.html`. #} +<div><a href="mailto:[email protected]">Reply via email →</a></div> +<div><i>...or, comment on this post on <a href="https://bubbles.town/source/cleberg.net">Bubbles</a>!</i></div> |
