]> oss.titaniummirror.com Git - webber.git/commit
plugins/hierarchy.py: index _parents{} and _childs{} by File objects
authorHolger Schurig <holgerschurig@gmail.com>
Thu, 13 Jan 2011 11:17:06 +0000 (12:17 +0100)
committerHolger Schurig <holgerschurig@gmail.com>
Thu, 13 Jan 2011 11:17:06 +0000 (12:17 +0100)
commit4bec1d6210f70b729798cd6e87fe0f622b47a45d
treeaab24f2a130a98468ad53c3fa4f5460d5bd937e9
parentc1c4c90130828ddc5e35e462e8537a9736fdf1d8
plugins/hierarchy.py: index _parents{} and _childs{} by File objects

Previously the keys for _parents{} and _childs{} where linktitles.
This made problems when several pages had the same linktitle. Having
two pages with the same linktitle however was perfectly legal, as the
linktitle is supposed to be displayed in sidemenus or breadcrumbs,
when the normal page title is too long.
plugins/hierarchy.py