From 42bf4bae9d582abd56758c1fcc7741419161fe7e Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 11 Aug 2026 13:51:10 -0500 Subject: Route blog posts through post.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reply-by-email and Bubbles lines were emitted from base.html behind a test on the page's URL, because org-ssg had no way for a page to pick a layout. It does now, so they live in a post.html that extends the shared one — the same split weblorg has between theme/templates/base.html and post.html — selected by a [[pages]] rule for blog/. All 169 posts carry the footer; /blog/ itself does not, being a generated listing rather than a post. --- content/templates/base.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'content/templates/base.html') diff --git a/content/templates/base.html b/content/templates/base.html index c012e65..6345700 100644 --- a/content/templates/base.html +++ b/content/templates/base.html @@ -57,13 +57,9 @@ {%- if page.tags %}

{% for tag in page.tags %}#{{ tag }} {% endfor %}

{%- endif %} +{#- Blog posts add a reply footer inside this block; see post.html, which the + [[pages]] rule in org-ssg.toml selects for everything under blog/. #}
{% block content %}{{ body | safe }}{% endblock %}
-{#- Blog posts carry a reply footer; other pages do not. org-ssg has no per-page - template selection, so the page's own URL is what tells them apart. #} -{%- if page.url is startingwith("blog/") %} -
Reply via email →
-
...or, comment on this post on Bubbles!
-{%- endif %} {% endblock %} -- cgit v1.2.3