Refactor footer.
Add link to home page, this fixes #9. Add links to _changes and _sitemap
This commit is contained in:
parent
2cb80e2bac
commit
5c161ed13e
5 changed files with 13 additions and 14 deletions
|
@ -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>
|
||||||
|
|
|
@ -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>
|
|
||||||
|
|
3
templates/default_footer.html
Normal file
3
templates/default_footer.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<footer>
|
||||||
|
{{>site_wide_footer_items.html}}
|
||||||
|
</footer>
|
7
templates/site_wide_footer_items.html
Normal file
7
templates/site_wide_footer_items.html
Normal 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>
|
|
@ -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>
|
|
||||||
|
|
Loading…
Reference in a new issue