Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't repeat current node name in breadcrumbs.

  • Loading branch information...
commit 69f125154f38272cdc34ca1f3172c8b5e3a16908 1 parent 01f438e
@cpressey cpressey authored
Showing with 2 additions and 5 deletions.
  1. +1 −4 src/chrysoberyl/renderer.py
  2. +1 −1  templates/base.html
View
5 src/chrysoberyl/renderer.py
@@ -298,10 +298,7 @@ def breadcrumbs(key=key):
# quips Release Notes Girl. Captain Compiler responds:
# "Does that mean we're going to make it open-sauce? HA, HA")
TOP = "Chrysoberyl"
- if self.data[key]['type'] == 'type':
- bc = [plural(key)]
- else:
- bc = [key]
+ bc = []
if key != TOP:
while 'domain' in self.data[key]:
key = self.data[key]['domain']
View
2  templates/base.html
@@ -24,7 +24,7 @@
<div class="span8">
{%- block breadcrumbs -%}
<nav id="breadcrumbs">
- <p>{{ breadcrumbs()|join(' » ') }}</p>
+ <p>{{ breadcrumbs()|join(' » ') }} »</p>
</nav>
{%- endblock breadcrumbs -%}
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.