custom footer on all pages
I need to be able to set a custom footer that is displayed on all web pages. Use case is a link to the privacy policy required by GDPR as well as a link to an imprint as required by german law (and probably some other jurisdictions as well).
Probably the best way to do that is probably to add a config option, for example POSTORIUS_ADDITIONAL_FOOTER
and just append it here: https://gitlab.com/mailman/postorius/-/blob/master/src/postorius/templates/postorius/base.html#L128-136
Workaround I'm using until something like that is built is to replace some strings in the nginx conf:
sub_filter '<a href="https://postorius.readthedocs.org">' '<a href="https://example.com" target="_blank" rel="noopener">Privacy policy and imprint</a>\n•\n<a href="https://postorius.readthedocs.org">';
sub_filter 'Powered by <a href="http://hyperkitty.readthedocs.org">HyperKitty</a>' '<a href="https://example.com" target="_blank" rel="noopener">Privacy policy and imprint</a>\n•\nPowered by <a href="http://hyperkitty.readthedocs.org">HyperKitty</a>';
Edited by nd notandy