
Steve from another mailman list suggested the below solutions. 1st method suggested worked. This is just for this group's information. Thank Steve for the solution. --------------------------------------- Suggested solution ------------------------------------------------------- It helps to explain why you don't want to change the HTML code, because there are several ways to do this, with different implications both for the page's appearance and for future maintenance. The visually cleanest way to do this is to copy the files
site-packages/postorius/templates/postorius/base.html site-packages/hyperkitty/templates/hyperkitty/base.html
to
/etc/mailman3/templates/postorius/base.html /etc/mailman3/templates/hyperkitty/base.html
search for '_VERSION' and delete or edit the version stanzas near the end of those files, add
TEMPLATES[0]['DIRS'].append('/etc/mailman3/templates') somewhere in /etc/mailman3/settings.py, and restart mailman-web (typically as root, using 'systemctl restart mailmanweb').
Alternatively and less visually appealing you can clear the version variable itself with a file 'site-packages/version_hack.py' containing the lines
def suppress_version(request): return {"HYPERKITTY_VERSION": "Wouldn't you like to know?", "POSTORIUS_VERSION": "Wouldn't you like to know?"}
... you probably want to change the strings to empty strings ... and add the lines
TEMPLATES[0]['OPTIONS']['context_processors'].append( 'version_hack.suppress_version' )
somewhere in /etc/mailman3/settings.py, and restart mailman-web. The former method of overriding the templates is a supported API, and very unlikely to be obsoleted any time soon. The latter method of patching the variables is something of a hack, and also leaves the tags like "Postorius version" visible in the page.