summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <dos@dosowisko.net>2014-07-11 20:01:17 +0200
committerSebastian Krzyszkowiak <dos@dosowisko.net>2014-07-11 20:01:17 +0200
commitefabada29d180f7d975fa8032357bf4e90970dcb (patch)
treec6c9f3654d976a63f7ea5f0316b77450bd13151f /theme
parent4e6bc3f2bd3eba3998f2db559e3ae15034bba631 (diff)
downloadwww-efabada29d180f7d975fa8032357bf4e90970dcb.tar.gz
www-efabada29d180f7d975fa8032357bf4e90970dcb.tar.bz2
www-efabada29d180f7d975fa8032357bf4e90970dcb.zip
fix right side menu links when URL is deeper in hierarchy
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 12568ef..1108a19 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -90,10 +90,10 @@
<li><a href="{% if self.title() != SITENAME %}/{% endif %}#donate" class="smooth">Donate</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
- <li{% if self.title() == "FAQ" %} class="active"{% endif %}><a href="faq">FAQ</a></li>
- <li{% if self.title() == "Specs" %} class="active"{% endif %}><a href="specs">Specs</a></li>
- <li{% if self.title() == "Contact" %} class="active"{% endif %}><a href="contact">Contact</a></li>
- <li{% if self.title() == "Subscribe" %} class="active"{% endif %}><a href="subscribe" class="btn-subscribe" data-toggle="modal">Subscribe</a></li>
+ <li{% if self.title() == "FAQ" %} class="active"{% endif %}><a href="/faq">FAQ</a></li>
+ <li{% if self.title() == "Specs" %} class="active"{% endif %}><a href="/specs">Specs</a></li>
+ <li{% if self.title() == "Contact" %} class="active"{% endif %}><a href="/contact">Contact</a></li>
+ <li{% if self.title() == "Subscribe" %} class="active"{% endif %}><a href="/subscribe" class="btn-subscribe" data-toggle="modal">Subscribe</a></li>
</ul>
</nav>
</div><!--/.navbar-collapse -->