aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/main_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/main_nav.html')
-rw-r--r--templates/web/base/main_nav.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/web/base/main_nav.html b/templates/web/base/main_nav.html
index 9736697e3..189630902 100644
--- a/templates/web/base/main_nav.html
+++ b/templates/web/base/main_nav.html
@@ -1,7 +1,4 @@
[%
- SET base = "";
- SET base = c.cobrand.base_url IF admin;
-
# DEFAULT would make sense here, except it treats the empty string as falsy
# and some cobrands want to set ul_class to an empty string.
SET ul_class="nav-menu nav-menu--main" UNLESS ul_class.defined;
@@ -11,7 +8,7 @@
[%~ IF c.req.uri.path == uri AND NOT always_url ~%]
<span [% attrs %]>[% label %]</span>
[%~ ELSE ~%]
- <a href="[% base %][% uri %][% suffix IF suffix %]" [% attrs %]>[% label %]</a>
+ <a href="[% uri %][% suffix IF suffix %]" [% attrs %]>[% label %]</a>
[%~ END ~%]
</li>
[%~ END %]