reverse parts of header title if specified by global option reverseHeadTitle

This commit is contained in:
Helmut Merz 2013-05-02 15:24:05 +02:00
parent d0243d0564
commit 135aa74d9c

View file

@ -385,6 +385,8 @@ class NodeView(BaseView):
ht = super(NodeView, self).headTitle
if ht not in parts:
parts.append(ht)
if self.globalOptions('reverseHeadTitle'):
parts.reverse()
return ' - ' .join(parts)
@Lazy