fix buggy bug

pull/31/head
Henrique Dias 2015-10-18 16:33:35 +01:00
parent cc44270f78
commit da46849403
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@
<nav>
<ul>
<li><a href="/"><i class="fa fa-home fa-lg"></i> Home</a></li>
{{ if and (Defined . "Config")}}<li><a data-pjax href="/admin/browse/{{ .Config.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
{{ if and (Defined . "User") }}<li><a data-pjax href="/admin/browse/{{ .User.Content }}/"><i class="fa fa-newspaper-o"></i> Content</a></li>{{ end }}
<li><a data-pjax href="/admin/browse/content/"><i class="fa fa-newspaper-o"></i> Content</a></li>
<li><a data-pjax href="/admin/browse/"><i class="fa fa-folder-o"></i> Browse</a></li>
<li><a data-pjax href="/admin/settings/"><i class="fa fa-cog"></i> Settings</a></li>
<li><a data-pjax id="logout" href="#logout"><i class="fa fa-sign-out"></i> Logout</a></li>