aboutsummaryrefslogtreecommitdiffstats
path: root/sleepmap-theme
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-04-03 05:57:20 +0200
committerDavid Runge <dave@sleepmap.de>2015-04-03 05:57:20 +0200
commit6d019dea191ce500edcf2a644dec2258d3be9d97 (patch)
tree26dade56d9312fd7965fa3d26ecab9aadf3a8fe4 /sleepmap-theme
parent68544e985f022946eea7abf0d74cb70e3b08c01a (diff)
downloadsleepmap-6d019dea191ce500edcf2a644dec2258d3be9d97.tar.gz
sleepmap-6d019dea191ce500edcf2a644dec2258d3be9d97.tar.bz2
sleepmap-6d019dea191ce500edcf2a644dec2258d3be9d97.tar.xz
sleepmap-6d019dea191ce500edcf2a644dec2258d3be9d97.zip
sleepmap-theme/templates/base.html: Adding About and Contact to the footer in a menu. Removing copysomethingblah
Diffstat (limited to 'sleepmap-theme')
-rw-r--r--sleepmap-theme/templates/base.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html
index 7385cfc..68a8cdf 100644
--- a/sleepmap-theme/templates/base.html
+++ b/sleepmap-theme/templates/base.html
@@ -82,7 +82,17 @@
<footer id="footer" class="body">
<address id="about" class="vcard body">
- <p> © Sleep Map 2015 </p>
+ <nav>
+ <ul>
+ {% for p in PAGES %}
+ {% if p.title == "About" or p.title == "Contact" %}
+ <li {% if p == page %}class="active"{% endif %}>
+ <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </nav>
</address><!-- /#about -->
</footer><!-- /#footer -->
</body>