We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bb202 commit efc339cCopy full SHA for efc339c
pgcommitfest/commitfest/templates/base.html
@@ -14,11 +14,15 @@
14
<body>
15
<div class="container-fluid">
16
<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>
+ {%if title %}
+ <li><a href="/">Home</a></li>
+ {%for c in breadcrumbs%}
+ <li><a href="{{c.href}}">{{c.title}}</a></li>
+ {%endfor%}
22
+ <li class="active">{{title}}</li>
23
+ {%else%}
24
+ <li class="active">Home</li>
25
+ {%endif%}
26
<li class="pull-right active">
27
{%if user.is_authenticated%}
28
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%})
0 commit comments