A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1008 B

  1. {{define "footer"}}
  2. {{template "foot" .}}
  3. {{template "body-end" .}}
  4. {{end}}
  5. {{define "foot"}}
  6. </div>
  7. <footer>
  8. <hr />
  9. <nav>
  10. <a class="home" href="/">{{.SiteName}}</a>
  11. <a href="/about">about</a>
  12. {{if and (not .SingleUser) .LocalTimeline}}<a href="/read">reader</a>{{end}}
  13. <a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a>
  14. <a href="/privacy">privacy</a>
  15. <a href="https://writefreely.org">writefreely {{.Version}}</a>
  16. </nav>
  17. </footer>
  18. <script type="text/javascript">
  19. try { // Google Fonts
  20. WebFontConfig = {
  21. custom: { families: [ 'Lora:400,700:latin' ], urls: [ '/css/fonts.css' ] }
  22. };
  23. (function() {
  24. var wf = document.createElement('script');
  25. wf.src = '/js/webfont.js';
  26. wf.type = 'text/javascript';
  27. wf.async = 'true';
  28. var s = document.getElementsByTagName('script')[0];
  29. s.parentNode.insertBefore(wf, s);
  30. })();
  31. } catch (e) { /* ¯\_(ツ)_/¯ */ }
  32. </script>
  33. {{end}}
  34. {{define "body-end"}}</body>
  35. </html>{{end}}