Stefan Bethke writes:
I have two list servers that I would like customize the web pages for, specifically I need to add some legal information to the footer, and I might want to apply some light branding to the site. I can't find any hints on how to do that, maybe I'm looking in the wrong place?
Postorius is a Django application. There are copious docs on djangoproject.com. We really don't want to duplicate the upstream project's documentation, especially since our downstream (ie, OS distros) are likely to have various different versions of Django installed in their packages.
The basic procedure is to add a local template path (I use /etc/mailman3/templates) early in Django's template path in /etc/mailman3/settings.py. Then copy any templates you want to modify to the right place in that local template hierarchy and modify them there.
If Postorious does not currently allow that outright,
It does, there's no need to vendor Postorius.
If so, would there be interest in adding a feature to define some blocks that can be overridden more easily,
Don't think this approach is better than overriding base.html if you want sitewide legal and branding. It would be more appealing if it were list-specific. It might be slightly more convenient, but you still need to create the local template hierarchy. On the other hand, it would increase the documentation burden. And for obvious reasons we don't want to make it too easy to replace our own branding.
Steve
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan