summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-03-17 11:49:40 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-03-17 11:49:40 +0000
commit4bee8f1b28f17327fd65b10ad09fbcb9de88874c (patch)
treee8d337253cabdc131290eb47919fb9c8b15aa380 /tpl
parentfd5f7f5d65c881b7236f01bde441f04d0d231588 (diff)
downloadaports-turbo-4bee8f1b28f17327fd65b10ad09fbcb9de88874c.tar.bz2
aports-turbo-4bee8f1b28f17327fd65b10ad09fbcb9de88874c.tar.xz
cleaner mustache usage
Diffstat (limited to 'tpl')
-rw-r--r--tpl/header.tpl14
1 files changed, 2 insertions, 12 deletions
diff --git a/tpl/header.tpl b/tpl/header.tpl
index 072aff9..cc10314 100644
--- a/tpl/header.tpl
+++ b/tpl/header.tpl
@@ -25,18 +25,8 @@
<a href="/"><img id="logo" src="/assets/alpinelinux-logo.svg" alt="Alpine Linux logo" /></a>
<div id="pagenav">
<nav>
- {{#packages}}
- <a href="/packages" class="active">Packages</a>
- {{/packages}}
- {{^packages}}
- <a href="/packages">Packages</a>
- {{/packages}}
- {{#contents}}
- <a href="/contents" class="active" class="">Contents</a>
- {{/contents}}
- {{^contents}}
- <a href="/contents" class="">Contents</a>
- {{/contents}}
+ <a href="/packages" {{#packages}}class="active"{{/packages}} >Packages</a>
+ <a href="/contents" {{#contents}}class="active"{{/contents}} >Contents</a>
</nav>
</div>
<div id="sitenav">