2018-11-08 07:10:37 +01:00
|
|
|
{{define "footer"}}
|
2019-08-01 04:53:10 +02:00
|
|
|
<footer{{if not (or .SingleUser .WFModesty)}} class="contain-me"{{end}}>
|
2018-11-08 07:10:37 +01:00
|
|
|
<hr />
|
2019-08-01 04:53:10 +02:00
|
|
|
{{if or .SingleUser .WFModesty}}
|
2018-11-10 04:10:46 +01:00
|
|
|
<nav>
|
|
|
|
<a class="home" href="/">{{.SiteName}}</a>
|
2019-08-01 04:53:10 +02:00
|
|
|
{{if not .SingleUser}}
|
|
|
|
<a href="/about">about</a>
|
2020-02-12 21:29:44 +01:00
|
|
|
{{if and .LocalTimeline .CanViewReader}}<a href="/read">reader</a>{{end}}
|
2019-08-01 04:53:10 +02:00
|
|
|
{{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>
|
2021-04-06 23:24:07 +02:00
|
|
|
<a href="https://github.com/writefreely/writefreely">source code</a>
|
2019-08-01 04:53:10 +02:00
|
|
|
<a href="https://writefreely.org">writefreely {{.Version}}</a>
|
|
|
|
{{end}}
|
2018-11-10 04:10:46 +01:00
|
|
|
</nav>
|
|
|
|
{{else}}
|
2018-11-08 07:10:37 +01:00
|
|
|
<div class="marketing-section">
|
|
|
|
<div class="clearfix blurbs">
|
|
|
|
<div class="half">
|
|
|
|
<h3><a class="home" href="/">{{.SiteName}}</a></h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/about">about</a></li>
|
2019-06-17 02:29:31 +02:00
|
|
|
{{if and (and (not .SingleUser) .LocalTimeline) .CanViewReader}}<a href="/read">reader</a>{{end}}
|
2018-11-08 07:10:37 +01:00
|
|
|
<li><a href="/privacy">privacy</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="half">
|
2018-11-09 20:38:03 +01:00
|
|
|
<h3><a href="https://writefreely.org" style="color:#444;text-transform:lowercase;">WriteFreely</a></h3>
|
2018-11-08 07:10:37 +01:00
|
|
|
<ul>
|
2019-04-10 21:27:31 +02:00
|
|
|
<li><a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a></li>
|
2019-04-12 03:33:33 +02:00
|
|
|
<li><a href="https://developers.write.as/" title="Build on WriteFreely with our open developer API.">developers</a></li>
|
2021-04-06 23:24:07 +02:00
|
|
|
<li><a href="https://github.com/writefreely/writefreely">source code</a></li>
|
2018-11-08 07:10:37 +01:00
|
|
|
<li style="margin-top:0.8em">{{.Version}}</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-10 04:10:46 +01:00
|
|
|
{{end}}
|
2018-11-08 07:10:37 +01:00
|
|
|
</footer>
|
|
|
|
{{end}}
|