Refactor footer.

Add link to home page, this fixes #9.

Add links to _changes and _sitemap
This commit is contained in:
Magnus Hoff 2017-10-13 15:14:12 +02:00
parent 2cb80e2bac
commit 5c161ed13e
5 changed files with 13 additions and 14 deletions

View file

@ -33,7 +33,6 @@
<footer> <footer>
<ul class="dense"> <ul class="dense">
<li><a href="_new">Create article</a></li>
<li><a id="openEditor" href="?edit">Edit</a></li> <li><a id="openEditor" href="?edit">Edit</a></li>
</ul> </ul>
<dl> <dl>
@ -46,5 +45,5 @@
<dt>Last updated</dt> <dt>Last updated</dt>
<dd class="last-updated">{{created}}</dd> <dd class="last-updated">{{created}}</dd>
</dl> </dl>
<p>Powered by <a href="https://github.com/maghoff/sausagewiki">Sausagewiki</a></p> {{>site_wide_footer_items.html}}
</footer> </footer>

View file

@ -19,9 +19,4 @@
</article> </article>
</div> </div>
<footer> {{>default_footer.html}}
<ul class="dense">
<li><a href="_new">Create article</a></li>
</ul>
<p>Powered by <a href="https://github.com/maghoff/sausagewiki">Sausagewiki</a></p>
</footer>

View file

@ -0,0 +1,3 @@
<footer>
{{>site_wide_footer_items.html}}
</footer>

View file

@ -0,0 +1,7 @@
<ul class="dense">
<li><a href=".">Home</a></li>
<li><a href="_new">Create article</a></li>
<li><a href="_sitemap">Sitemap</a></li>
<li><a href="_changes">Recent changes</a></li>
</ul>
<p>Powered by <a href="https://github.com/maghoff/sausagewiki">Sausagewiki</a></p>

View file

@ -12,9 +12,4 @@
</article> </article>
</div> </div>
<footer> {{>default_footer.html}}
<ul class="dense">
<li><a href="_new">Create article</a></li>
</ul>
<p>Powered by <a href="https://github.com/maghoff/sausagewiki">Sausagewiki</a></p>
</footer>