File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,16 @@ <h1 id="site-title">Spore ModAPI Launcher Kit</h1>
2121
2222 < nav >
2323 < ul id ="nav-bar ">
24- {% assign nav_items =
25- [
26- <!-- Add top-level pages here -->
27- {"title": "Home", "url": "/"},
28- {"title": "Info & Support", "url": "/support"},
29- {"title": "For Mod Developers", "url": "/developers"}
30- ]
31- %}
32- {% for item in nav_items %}
33- < li {% if page.url == item.url %} class ="active "{% endif %} >
34- < a href ="{{ item.url }} "> {{ item.title }}</ a >
35- </ li >
36- {% endfor %}
24+ < li {% if page.url == "/ " %} class ="active "{% endif %} >
25+ < a href ="/ "> Home</ a >
26+ </ li >
27+ < li {% if page.url contains "/support" %} class="active "{% endif %} >
28+ < a href ="/support "> Info & Support</ a >
29+ </ li >
30+ < li {% if page.url contains "/developers" %} class="active "{% endif %} >
31+ < a href ="/developers "> For Mod Developers</ a >
32+ </ li >
33+ <!-- Add additional top-level nav links here by copying the above format -->
3734 </ ul >
3835 </ nav >
3936 </ header >
You can’t perform that action at this time.
0 commit comments