{# Copyright (C) 2010-2021 Edgewall Software

  This software is licensed as described in the file COPYING, which
  you should have received as part of this distribution. The terms
  are also available at https://trac.edgewall.org/wiki/TracLicense.

  This software consists of voluntary contributions made by many
  individuals. For the exact contribution history, see the revision
  history and logs, available at https://trac.edgewall.org/.
#}

<div id="pagepath" class="noprint">
# with parts = page.name.split('/')
<a class="pathentry first" title="${_('View %(path)s', path=start_page)}"
   href="${href.wiki()}">wiki:</a>{%
for part in parts:
%}<a href="${href.wiki(*parts[:loop.index])}"
     title="${_('View %(path)s', path='/'.join(parts[:loop.index]))}"
     class="pathentry">${part}</a>{% if not loop.last
%}<span class="pathentry sep">/</span>{% endif %}{%
endfor %}
# endwith
</div>
