File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
pgcommitfest/commitfest/templates Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1414 < body >
1515 < div class ="container-fluid ">
1616 < ul class ="breadcrumb ">
17- < li > < a href ="/ "> Home</ a > </ li >
18- {%for c in breadcrumbs%}
19- < li > < a href ="{{c.href}} "> {{c.title}}</ a > </ li >
20- {%endfor%}
21- < li class ="active "> {{title}}</ li >
17+ {%if title %}
18+ < li > < a href ="/ "> Home</ a > </ li >
19+ {%for c in breadcrumbs%}
20+ < li > < a href ="{{c.href}} "> {{c.title}}</ a > </ li >
21+ {%endfor%}
22+ < li class ="active "> {{title}}</ li >
23+ {%else%}
24+ < li class ="active "> Home</ li >
25+ {%endif%}
2226 < li class ="pull-right active ">
2327 {%if user.is_authenticated%}
2428 Logged in as {{user}} (< a href ="/account/profile/ "> edit profile</ a > | < a href ="/account/logout/ "> log out</ a > {%if user.is_staff%} | < a href ="/admin/ "> administration</ a > {%endif%})
You can’t perform that action at this time.
0 commit comments