fix bug
This commit is contained in:
parent
6fcb1dce44
commit
e72d6ed041
|
@ -21,7 +21,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/"><i class="fa fa-home fa-lg"></i> Home</a></li>
|
<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 . "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/{{ .Config.User }}/"><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/"><i class="fa fa-folder-o"></i> Browse</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 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>
|
<li><a data-pjax id="logout" href="#logout"><i class="fa fa-sign-out"></i> Logout</a></li>
|
||||||
|
|
Loading…
Reference in New Issue