Fix Reader nav link on WFModesty + Private instance

(that is, hide the footer nav link when logged out)
pull/274/head
Matt Baer 5 years ago
parent c71d020e86
commit 7aef706977
  1. 2
      templates/include/footer.tmpl

@ -6,7 +6,7 @@
<a class="home" href="/">{{.SiteName}}</a> <a class="home" href="/">{{.SiteName}}</a>
{{if not .SingleUser}} {{if not .SingleUser}}
<a href="/about">about</a> <a href="/about">about</a>
{{if .LocalTimeline}}<a href="/read">reader</a>{{end}} {{if and .LocalTimeline .CanViewReader}}<a href="/read">reader</a>{{end}}
{{if .Username}}<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>{{end}} {{if .Username}}<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>{{end}}
<a href="/privacy">privacy</a> <a href="/privacy">privacy</a>
<p style="font-size: 0.9em">powered by <a href="https://writefreely.org">writefreely</a></p> <p style="font-size: 0.9em">powered by <a href="https://writefreely.org">writefreely</a></p>

Loading…
Cancel
Save