diff options
author | Mark Sapiro <mark@msapiro.net> | 2015-01-10 21:22:36 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2015-01-10 21:22:36 -0800 |
commit | 166ea4ff90ee31e7cb702dc12b9d108dac773d9e (patch) | |
tree | 27c941c14b7837a6d1c7ff1caea32c72b20a723a /Mailman/htmlformat.py | |
parent | ed89986a7ba15b8d4519b6acf71e72b8db1646d5 (diff) | |
download | mailman2-166ea4ff90ee31e7cb702dc12b9d108dac773d9e.tar.gz mailman2-166ea4ff90ee31e7cb702dc12b9d108dac773d9e.tar.xz mailman2-166ea4ff90ee31e7cb702dc12b9d108dac773d9e.zip |
Implement a new WEB_HEAD_ADD setting to specify text to be added to the
<HEAD> section of Mailman's internally generated web pages.
Diffstat (limited to '')
-rwxr-xr-x | Mailman/htmlformat.py | 4 |
1 files changed, 3 insertions, 1 deletions
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<TITLE>%s</TITLE>' % (tab, self.title)) + if mm_cfg.WEB_HEAD_ADD: + output.append(mm_cfg.WEB_HEAD_ADD) output.append('%s</HEAD>' % tab) quals = [] # Default link colors |