Skip to content

Commit

Permalink
fix(navbar): fix documentation duplicate ID errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lausselloic committed Jan 12, 2017
1 parent 587ee30 commit c62e555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs-orange/_includes/nav-home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="" role="banner">
<nav class="navbar navbar-toggleable navbar-inverse">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsingNavbar">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsingNavbarHead">
<span class="sr-only">toggle navigation</span>
<span class="icon-menu"></span>
</button>
Expand All @@ -9,7 +9,7 @@
<img src="dist/img/ORANGE_LOGO_rgb.jpg" alt="Back to homepage" title="Go to homepage"/>
<span>B<span class="text-primary">oo</span>sted</span>
</a>
<div class="navbar-collapse collapse" id="collapsingNavbar">
<div class="navbar-collapse collapse" id="collapsingNavbarHead">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/getting-started/introduction/">Documentation</a></li>
<li class="nav-item"><a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/">Examples</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs-orange/components/navbar-orange.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Orange navbar is the main navigation of project website. It should always be inc
</button>
<a class="navbar-brand"><img src="../../dist/img/ORANGE_LOGO_rgb.jpg" alt="Back to homepage" title="Back to homepage"/></a>
<div class="navbar-collapse collapse" id="collapsingNavbar">
<ul class="navbar-nav" id="collapsingNavbar3">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="#">Discover</a></li>
<li class="nav-item"><a class="nav-link" href="#">Shop</a></li>
<li class="nav-item"><a href="#" class="nav-link">My Orange</a></li>
Expand Down Expand Up @@ -134,7 +134,7 @@ A supra bar should never be used on its own and always be included in header and
</button>
<a class="navbar-brand"><img src="../../dist/img/ORANGE_LOGO_rgb.jpg" alt="Back to homepage" title="Back to homepage"/></a>
<div class="navbar-collapse collapse" id="collapsingNavbar2">
<ul class="navbar-nav" id="collapsingNavbar3">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="#">Discover</a></li>
<li class="nav-item"><a class="nav-link" href="#">Shop</a></li>
<li class="nav-item"><a href="#" class="nav-link">My Orange</a></li>
Expand Down

0 comments on commit c62e555

Please sign in to comment.