summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-05-30 21:21:17 -0300
committerWerner Almesberger <werner@almesberger.net>2015-05-30 21:21:17 -0300
commit87da1e0628681fa64e834e754dbb51b215b14345 (patch)
tree56fca73cc643cfefa8a59a3c1fbd9e4efc92e5f5 /theme
parentfb1f5655cc0a0109a464c5fc85f76117e03b3658 (diff)
downloadwww-87da1e0628681fa64e834e754dbb51b215b14345.tar.gz
www-87da1e0628681fa64e834e754dbb51b215b14345.tar.bz2
www-87da1e0628681fa64e834e754dbb51b215b14345.zip
theme/templates/base.html: add "Shop" link to right navbar
Note: the "active" logic is just a placeholder in its present form and doesn't actually do anything, because: a) the shop doesn't call itself (in self.title, which i assume is the content of <title>) "Shop", and b) the shop has its own copy of the base template (in themes/neo900-theme.d/neo900/header.tpl), but in case these critters ever get unified, it'll be there.
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/base.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 22f0690..79f3045 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -94,6 +94,7 @@
<li{% if self.title() == "Specs" %} class="active"{% endif %}><a href="/specs">Specs</a></li>
<li{% if self.title() == "Resources" %} class="active"{% endif %}><a href="/resources">Resources</a></li>
<li{% if self.title() == "Contact" %} class="active"{% endif %}><a href="/contact">Contact</a></li>
+ <li{% if self.title() == "Shop" %} class="active"{% endif %}><a href="https://my.neo900.org/">Shop</a></li>
<li{% if self.title() == "Subscribe" %} class="active"{% endif %}><a href="/subscribe" class="btn-subscribe" data-toggle="modal">Subscribe</a></li>
</ul>
</nav>