|
|
@@ -1,13 +1,21 @@ |
|
|
|
{{define "footer"}} |
|
|
|
<footer{{if not .SingleUser}} class="contain-me"{{end}}> |
|
|
|
<footer{{if not (or .SingleUser .WFModesty)}} class="contain-me"{{end}}> |
|
|
|
<hr /> |
|
|
|
{{if .SingleUser}} |
|
|
|
{{if or .SingleUser .WFModesty}} |
|
|
|
<nav> |
|
|
|
<a class="home" href="/">{{.SiteName}}</a> |
|
|
|
<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a> |
|
|
|
<a href="https://developers.write.as/" title="Build on WriteFreely with our open developer API.">developers</a> |
|
|
|
<a href="https://github.com/writeas/writefreely">source code</a> |
|
|
|
<a href="https://writefreely.org">writefreely {{.Version}}</a> |
|
|
|
{{if not .SingleUser}} |
|
|
|
<a href="/about">about</a> |
|
|
|
{{if .LocalTimeline}}<a href="/read">reader</a>{{end}} |
|
|
|
{{if .Username}}<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>{{end}} |
|
|
|
<a href="/privacy">privacy</a> |
|
|
|
<p style="font-size: 0.9em">powered by <a href="https://writefreely.org">writefreely</a></p> |
|
|
|
{{else}} |
|
|
|
<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a> |
|
|
|
<a href="https://developers.write.as/" title="Build on WriteFreely with our open developer API.">developers</a> |
|
|
|
<a href="https://github.com/writeas/writefreely">source code</a> |
|
|
|
<a href="https://writefreely.org">writefreely {{.Version}}</a> |
|
|
|
{{end}} |
|
|
|
</nav> |
|
|
|
{{else}} |
|
|
|
<div class="marketing-section"> |
|
|
|