2018-11-08 07:23:08 +01:00
|
|
|
{{define "footer"}}
|
|
|
|
{{template "foot" .}}
|
|
|
|
{{template "body-end" .}}
|
|
|
|
{{end}}
|
|
|
|
{{define "foot"}}
|
|
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
<hr />
|
|
|
|
<nav>
|
|
|
|
<a class="home" href="/">{{.SiteName}}</a>
|
2019-07-22 20:40:10 +02:00
|
|
|
{{if not .SingleUser}}<a href="/about">about</a>{{end}}
|
2018-12-10 22:02:42 +01:00
|
|
|
{{if and (not .SingleUser) .LocalTimeline}}<a href="/read">reader</a>{{end}}
|
2019-04-10 21:27:31 +02:00
|
|
|
<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>
|
2019-07-22 20:40:10 +02:00
|
|
|
{{if not .SingleUser}}<a href="/privacy">privacy</a>{{end}}
|
2019-08-08 00:02:54 +02:00
|
|
|
{{if .WFModesty}}
|
2019-08-01 04:53:10 +02:00
|
|
|
<p style="font-size: 0.9em">powered by <a href="https://writefreely.org">writefreely</a></p>
|
|
|
|
{{else}}
|
2018-11-09 20:38:03 +01:00
|
|
|
<a href="https://writefreely.org">writefreely {{.Version}}</a>
|
2019-08-01 04:53:10 +02:00
|
|
|
{{end}}
|
2018-11-08 07:23:08 +01:00
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
|
2020-07-30 17:26:29 +02:00
|
|
|
<script type="text/javascript" src="/js/menu.js"></script>
|
2018-11-08 07:23:08 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
try { // Google Fonts
|
|
|
|
WebFontConfig = {
|
|
|
|
custom: { families: [ 'Lora:400,700:latin' ], urls: [ '/css/fonts.css' ] }
|
|
|
|
};
|
|
|
|
(function() {
|
|
|
|
var wf = document.createElement('script');
|
|
|
|
wf.src = '/js/webfont.js';
|
|
|
|
wf.type = 'text/javascript';
|
|
|
|
wf.async = 'true';
|
|
|
|
var s = document.getElementsByTagName('script')[0];
|
|
|
|
s.parentNode.insertBefore(wf, s);
|
|
|
|
})();
|
|
|
|
} catch (e) { /* ¯\_(ツ)_/¯ */ }
|
|
|
|
</script>
|
|
|
|
{{end}}
|
|
|
|
{{define "body-end"}}</body>
|
|
|
|
</html>{{end}}
|