Skip to content

Commit

Permalink
Add version dropdown on docs home page
Browse files Browse the repository at this point in the history
  • Loading branch information
sesemaya committed May 2, 2018
1 parent 6a1919c commit c393529
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@
<span class="navbar-toggler-icon"></span>
</button>
<a aria-label="Daemonite Material" class="mr-auto doc-logo" href="{{ site.baseurl }}/">M</a>
<div class="ml-3">
<div class="dropdown">
<button aria-expanded="false" aria-haspopup="true" class="navbar-toggler" data-toggle="dropdown" id="doc-dropdown-versions" type="button"><i class="material-icons mx-auto">history</i></button>
<div aria-labelledby="doc-dropdown-versions" class="dropdown-menu dropdown-menu-right">
<span class="dropdown-header">Versions</span>
<a class="dropdown-item active" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/">Latest (v4.1.X)</a>
<a class="dropdown-item" href="http://daemonite.github.io/material/docs/4.0/">v4.0.0</a>
</div>
</div>
</div>
</header>

{% include nav-navdrawer.html %}
Expand Down

0 comments on commit c393529

Please sign in to comment.