|
|
@ -13,7 +13,7 @@ |
|
|
|
<body {{template "body-attrs" .}}> |
|
|
|
<body {{template "body-attrs" .}}> |
|
|
|
<div id="overlay"></div> |
|
|
|
<div id="overlay"></div> |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
{{ if .SimpleNav }}<nav id="full-nav"> |
|
|
|
{{ if .Chorus }}<nav id="full-nav"> |
|
|
|
<div class="left-side"> |
|
|
|
<div class="left-side"> |
|
|
|
<h2><a href="/">{{.SiteName}}</a></h2> |
|
|
|
<h2><a href="/">{{.SiteName}}</a></h2> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -49,7 +49,7 @@ |
|
|
|
{{if not .Username}}<a href="/login"{{if eq .Path "/login"}} class="selected"{{end}}>Log in</a>{{else if .SimpleNav}}<a href="/me/logout">Log out</a>{{end}} |
|
|
|
{{if not .Username}}<a href="/login"{{if eq .Path "/login"}} class="selected"{{end}}>Log in</a>{{else if .SimpleNav}}<a href="/me/logout">Log out</a>{{end}} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
{{if .SimpleNav}}{{if .Username}}<div class="right-side" style="font-size: 0.86em;"> |
|
|
|
{{if .Chorus}}{{if .Username}}<div class="right-side" style="font-size: 0.86em;"> |
|
|
|
<a class="simple-btn" href="/new">New Post</a> |
|
|
|
<a class="simple-btn" href="/new">New Post</a> |
|
|
|
</div>{{end}} |
|
|
|
</div>{{end}} |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|