2018-11-08 06:23:08 +00:00
|
|
|
{{define "footer"}}
|
|
|
|
{{template "foot" .}}
|
|
|
|
{{template "body-end" .}}
|
|
|
|
{{end}}
|
|
|
|
{{define "foot"}}
|
|
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
<hr />
|
|
|
|
<nav>
|
|
|
|
<a class="home" href="/">{{.SiteName}}</a>
|
|
|
|
<a href="/about">about</a>
|
2018-12-10 21:02:42 +00:00
|
|
|
{{if and (not .SingleUser) .LocalTimeline}}<a href="/read">reader</a>{{end}}
|
2019-04-10 19:27:31 +00:00
|
|
|
<a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>
|
2018-11-08 06:23:08 +00:00
|
|
|
<a href="/privacy">privacy</a>
|
2018-11-09 19:38:03 +00:00
|
|
|
<a href="https://writefreely.org">writefreely {{.Version}}</a>
|
2018-11-08 06:23:08 +00:00
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<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}}
|