Skip to content

Commit ee84ac0

Browse files
Update nav menu to handle external target (#91)
1 parent 0957687 commit ee84ac0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

menus/main/MainMenu.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<li[?SELECTED] class="active"[/?]>
77

88
[?ENABLED]
9-
<a href="[=URL]" class="btn btn-secondary[?NODE] split[/?]">[=TEXT]</a>
9+
<a href="[=URL]" class="btn btn-secondary[?NODE] split[/?]" target="[=TARGET]">[=TEXT]</a>
1010
[?ELSE]
11-
<a href="#" class="btn btn-secondary[?NODE] single[/?]">[=TEXT]</a>
11+
<a href="#" class="btn btn-secondary[?NODE] single[/?]" target="[=TARGET]">[=TEXT]</a>
1212
[/?]
1313

1414
[?NODE]
@@ -23,9 +23,9 @@
2323
<li class="[?SELECTED] active[/?]">
2424

2525
[?ENABLED]
26-
<a href="[=URL]" [?NODE]class="split"[/?]>[=TEXT]</a>
26+
<a href="[=URL]" [?NODE]class="split"[/?] target="[=TARGET]">[=TEXT]</a>
2727
[?ELSE]
28-
<a href="#">[=TEXT]</a>
28+
<a href="#" target="[=TARGET]">[=TEXT]</a>
2929
[/?]
3030

3131
[?NODE]

0 commit comments

Comments
 (0)