From 166ea4ff90ee31e7cb702dc12b9d108dac773d9e Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 10 Jan 2015 21:22:36 -0800 Subject: Implement a new WEB_HEAD_ADD setting to specify text to be added to the section of Mailman's internally generated web pages. --- Mailman/htmlformat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mailman/htmlformat.py') diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index d02780d1..419fa296 100755 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2014 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2015 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -318,6 +318,8 @@ class Document(Container): 'content="text/html; charset=%s">' % charset) if self.title: output.append('%s%s' % (tab, self.title)) + if mm_cfg.WEB_HEAD_ADD: + output.append(mm_cfg.WEB_HEAD_ADD) output.append('%s' % tab) quals = [] # Default link colors -- cgit v1.2.3