Set docs menu item to active when viewing a “tips” page
Pieter Vanderwerff committed
Nov 15, 2013 at 15:27 UTC
1e1d7fe77047b036a80d82a9922b9d36626be155
1 file changed
+1
-1
docs/_layouts/default.html
+1
-1
@@ -40,7 +40,7 @@
40
React
41
</a>
42
<ul class="nav-site">
43
- <li><a href="/react/docs/getting-started.html"{% if page.sectionid == 'docs' %} class="active"{% endif %}>docs</a></li>
43
+ <li><a href="/react/docs/getting-started.html"{% if page.sectionid == 'docs' or page.sectionid == 'tips' %} class="active"{% endif %}>docs</a></li>
44
<li><a href="/react/support.html"{% if page.id == 'support' %} class="active"{% endif %}>support</a></li>
45
<li><a href="/react/downloads.html"{% if page.id == 'downloads' %} class="active"{% endif %}>download</a></li>
46
<li><a href="/react/blog/"{% if page.sectionid == 'blog' %} class="active"{% endif %}>blog</a></li>