docs/_sidebar.html.erb in zurb-foundation-4.0.3 vs docs/_sidebar.html.erb in zurb-foundation-4.0.4
- old
+ new
@@ -1,14 +1,14 @@
-<div class="section-container accordion" data-section data-options="deep_linking: false">
+<div class="docs section-container accordion" data-section data-options="deep_linking: false">
<section class="section <%= @side_nav == 'using' ? 'active': '' %>">
<p class="title"><a href="#">Using Foundation</a></p>
<div class="content">
<ul class="side-nav">
- <li><a href="http://foundation.zurb.com/docs/">Get Started</a></li>
- <li><a href="javascript.html">Javascript</a></li>
- <li><a href="sass.html">Sass</a></li>
- <li><a href="rails.html">Rails</a></li>
+ <li><a class="<%= @page_title == 'Getting Started' ? 'active': '' %>" href="index.html">Get Started</a></li>
+ <li><a class="<%= @page_title == 'Javascript' ? 'active': '' %>" href="javascript.html">Javascript</a></li>
+ <li><a class="<%= @page_title == 'Sass' ? 'active': '' %>" href="sass.html">Sass</a></li>
+ <li><a class="<%= @page_title == 'Rails' ? 'active': '' %>" href="rails.html">Rails</a></li>
<li><a href="components/visibility.html">Visibility Classes</a></li>
</ul>
</div>
</section>
<section class="section">
@@ -90,20 +90,20 @@
<li><a href="components/section.html">Section</a></li>
<li><a href="components/tooltips.html">Tooltips</a></li>
</ul>
</div>
</section>
- <section class="section">
+ <section class="section <%= @page_title == 'FAQ' ? 'active': '' %>">
<p class="title"><a href="faq.html">FAQ</a></p>
</section>
- <section class="section">
+ <section class="section <%= @page_title == 'Support' ? 'active': '' %>">
<p class="title"><a href="support.html">Support</a></p>
</section>
</div>
<p><a href="http://foundation.zurb.com/download.php" class="button expand" style="margin-bottom: 0;">Download Foundation 4</a></p>
-<!-- <div class="jobs hide-for-small">
+<div class="jobs hide-for-small">
<h5>Awesome product jobs:</h5>
<script type="text/javascript" src="http://www.zurb.com/jobs/widgets/jobs.js?limit=3&variation=foundation-sidebar"></script>
<a id="via" href="http://zurbjobs.com">via <span class="jobs-link">ZURBjobs</span></a>
-</div> -->
+</div>