parent
ecac59bf62
commit
1836735499
|
@ -45,9 +45,10 @@
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body id="collection" itemscope itemtype="http://schema.org/WebPage">
|
<body id="collection" itemscope itemtype="http://schema.org/WebPage">
|
||||||
{{if .IsOwner}}<nav id="manage"><ul>
|
{{if or .IsOwner .SingleUser}}<nav id="manage"><ul>
|
||||||
<li><a onclick="void(0)">☰ Menu</a>
|
<li><a onclick="void(0)">☰ Menu</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
{{ if .IsOwner }}
|
||||||
{{if .SingleUser}}
|
{{if .SingleUser}}
|
||||||
<li><a href="/me/new">New Post</a></li>
|
<li><a href="/me/new">New Post</a></li>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -58,6 +59,9 @@
|
||||||
<li class="separator"><hr /></li>
|
<li class="separator"><hr /></li>
|
||||||
{{if not .SingleUser}}<li><a href="/me/c/"><img class="ic-18dp" src="/img/ic_blogs_dark@2x.png" /> View Blogs</a></li>{{end}}
|
{{if not .SingleUser}}<li><a href="/me/c/"><img class="ic-18dp" src="/img/ic_blogs_dark@2x.png" /> View Blogs</a></li>{{end}}
|
||||||
<li><a href="/me/posts/"><img class="ic-18dp" src="/img/ic_list_dark@2x.png" /> View Drafts</a></li>
|
<li><a href="/me/posts/"><img class="ic-18dp" src="/img/ic_list_dark@2x.png" /> View Drafts</a></li>
|
||||||
|
{{ else }}
|
||||||
|
<li><a href="/login">Log in</a></li>
|
||||||
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul></nav>{{end}}
|
</ul></nav>{{end}}
|
||||||
|
|
Loading…
Reference in New Issue