On Mon, Mar 2, 2026 at 1:56 PM Stephen J. Turnbull <steve@turnbull.jp> wrote:
Washington Odhiambo via Mailman-users writes:
In my /opt/mailman/mm/var/templates/lists/ kictanet.lists.kictanet.or.ke/en/list:member:regular:footer.txt, I have:
Archived at: ${hyperkitty_url
First, I assume the unbalanced
{is a typo.
Yes. That was a typo actually.
Second, I don't think that is correct syntax for this flavor of template, it's just "$hyperkitty_url". (It might be OK, but this language is designed for an undelimited reference to the template variable.)
Third, there is no provision for that substitution in footers, as the
substitions are a hard-coded list in the decorate() function in handlers/decorate.py. It is available in the Archived-At header field.
I have seen that in the footer for this MM3 users ML for ages. And my MM3 installation is new :)
It wouldn't be hard to add, I suspect, but currently there is no protocol for an archiver to communicate its archived-at URL to the decorate function. There are generic callbacks for the Archived-At and List-Archive header fields, but those are simple lists and don't allow you to specify the particular archiver as $hyperkitty_url.
How did @Mark Sapiro <mark@msapiro.net> add the footer to mailman-users@mailman3.org?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]