# HG changeset patch # User Thierry Florac # Date 1549374154 -3600 # Node ID 30cf1a8438a6924e7f59c83c4a4b7ad451e34cff # Parent 6de5949fbaf91f68b4a092d32c2683ad556275e7 Handle empty title in meta header diff -r 6de5949fbaf9 -r 30cf1a8438a6 src/pyams_zmi/metas.py --- a/src/pyams_zmi/metas.py Fri Feb 01 18:37:05 2019 +0100 +++ b/src/pyams_zmi/metas.py Tue Feb 05 14:42:34 2019 +0100 @@ -36,7 +36,7 @@ def get_metas(self): config = IBackOfficeConfiguration(self.request.root) - yield HTMLTagMeta('title', config.title, + yield HTMLTagMeta('title', config.title or '----', **{'data-ams-title-prefix': config.get_title_prefix(self.request)})