Add user management pages
This commit is contained in:
35
templates/user/include/footer.tmpl
Normal file
35
templates/user/include/footer.tmpl
Normal file
@@ -0,0 +1,35 @@
|
||||
{{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>
|
||||
<a href="https://writefreely.org/guide" target="guides">guide</a>
|
||||
<a href="/privacy">privacy</a>
|
||||
<a>{{.Version}}</a>
|
||||
</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}}
|
Reference in New Issue
Block a user