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>
|
||||
<ul class="dense">
|
||||
<li><a href="_new">Create article</a></li>
|
||||
<li><a id="openEditor" href="?edit">Edit</a></li>
|
||||
</ul>
|
||||
<dl>
|
||||
|
@ -46,5 +45,5 @@
|
|||
<dt>Last updated</dt>
|
||||
<dd class="last-updated">{{created}}</dd>
|
||||
</dl>
|
||||
<p>Powered by <a href="https://github.com/maghoff/sausagewiki">Sausagewiki</a></p>
|
||||
{{>site_wide_footer_items.html}}
|
||||
</footer>
|
||||
|
|
|
@ -19,9 +19,4 @@
|
|||
</article>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<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>
|
||||
{{>default_footer.html}}
|
||||
|
|
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>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<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>
|
||||
{{>default_footer.html}}
|
||||
|
|
Loading…
Reference in a new issue