|
|
@ -36,6 +36,7 @@ |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<nav class="tabs"> |
|
|
|
<nav class="tabs"> |
|
|
|
|
|
|
|
{{if and (and (not .SingleUser) .Chorus) .Username}}<a href="/{{.Username}}/"{{if eq .Path (printf "/%s/" .Username)}} class="selected"{{end}}>Posts</a>{{end}} |
|
|
|
<a href="/about"{{if eq .Path "/about"}} class="selected"{{end}}>About</a> |
|
|
|
<a href="/about"{{if eq .Path "/about"}} class="selected"{{end}}>About</a> |
|
|
|
{{if and (and (not .SingleUser) .LocalTimeline) .CanViewReader}}<a href="/read"{{if eq .Path "/read"}} class="selected"{{end}}>Reader</a>{{end}} |
|
|
|
{{if and (and (not .SingleUser) .LocalTimeline) .CanViewReader}}<a href="/read"{{if eq .Path "/read"}} class="selected"{{end}}>Reader</a>{{end}} |
|
|
|
{{if and (and (and (not .SingleUser) .Chorus) .OpenRegistration) (not .Username)}}<a href="/signup"{{if eq .Path "/signup"}} class="selected"{{end}}>Sign up</a>{{end}} |
|
|
|
{{if and (and (and (not .SingleUser) .Chorus) .OpenRegistration) (not .Username)}}<a href="/signup"{{if eq .Path "/signup"}} class="selected"{{end}}>Sign up</a>{{end}} |
|
|
|