Skip to content

Commit 4fa663e

Browse files
hellcpSorixelle
authored andcommitted
Make sense of the sidebar links
Signed-off-by: Stasia Michalska <[email protected]>
1 parent 5c17b5b commit 4fa663e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

source/_layouts/community.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ <h3><a href="/community/">Community</a></h3>
1313
<ul>
1414
<li class="section-menu__subitem{% if page.community_event == 'retreat-2015' %} active{% endif %}"><a href="/community/events/developer-retreat-2015/"><span>Developer Retreat 2015</span></a></li>
1515
<li class="section-menu__subitem{% if page.community_event == 'retreat-2014' %} active{% endif %}"><a href="/community/events/developer-retreat-2014/"><span>Developer Retreat 2014</span></a></li>
16+
<li class="section-menu__subitem{% if page.community_event == 'retreat-2013' %} active{% endif %}"><a href="/community/events/developer-retreat-2013/"><span>Developer Retreat 2013</span></a></li>
1617
</ul>
1718
</li>
1819
<li class="section-menu__item{% if page.menu_subsection == 'online' %} active{% endif %}"><a href="/community/online/">Online Communities</a></li>

source/_layouts/more.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ <h3><a href="/more/">More</a></h3>
2424
</div>
2525
<ul>
2626
<li class="section-menu__item{% if page.menu_subsection == 'inspiration' %} active{% endif %}"><a href="/inspiration/">App Inspiration</a></li>
27-
<li class="section-menu__item{% if layout.menu_subsection == 'examples' or page.menu_subsection == 'examples' %} active{% endif %}"><a href="/examples/">Examples</a></li>
2827
<li class="section-menu__item{% if page.menu_subsection == 'contact' %} active{% endif %}"><a href="/contact/">Contact</a></li>
2928
<li class="section-menu__item{% if page.menu_subsection == 'faqs' %} active{% endif %}"><a href="/faqs/">FAQs</a></li>
3029
<li class="section-menu__item{% if page.menu_subsection == 'legal' %} open{% endif %}"><a href="/legal/">Legal</a>

source/community/events/developer-retreat-2013/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
2-
layout: default
2+
layout: community
3+
title: Developer Retreat 2013
4+
menu_subsection: events
5+
community_event: retreat-2013
36
---
47

58
<div class="container main-container">

0 commit comments

Comments
 (0)