Hide footer links to About and Privacy pages when single-user
Previously, these links showed up on user backend pages on a single-user instance, despite them not working / only being applicable on multi-user instances.
This commit is contained in:
parent
bd4bb52b9c
commit
3129b837f1
|
@ -8,10 +8,10 @@
|
|||
<hr />
|
||||
<nav>
|
||||
<a class="home" href="/">{{.SiteName}}</a>
|
||||
<a href="/about">about</a>
|
||||
{{if not .SingleUser}}<a href="/about">about</a>{{end}}
|
||||
{{if and (not .SingleUser) .LocalTimeline}}<a href="/read">reader</a>{{end}}
|
||||
<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>
|
||||
<a href="/privacy">privacy</a>
|
||||
{{if not .SingleUser}}<a href="/privacy">privacy</a>{{end}}
|
||||
<a href="https://writefreely.org">writefreely {{.Version}}</a>
|
||||
</nav>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue