Skip to content

Commit

Permalink
fix logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
sharathdt committed Oct 28, 2019
1 parent e240f2a commit 26164d8
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand js-scroll-trigger" href="/">Start Bootstrap</a>
<button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<a class="navbar-brand js-scroll-trigger" href="{{ site.baseurl }}/"
>Start Bootstrap</a
>
<button
class="navbar-toggler ml-auto"
type="button"
data-toggle="collapse"
data-target="#navbarResponsive"
aria-controls="navbarResponsive"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
{% for item in site.data.menu %}
<li class="nav-item{% if item.link == page.url %} active {% endif %}">
<a class="nav-link" href="{{site.baseurl}}{{ item.link }}">{{ item.title }}</a>
<a class="nav-link" href="{{ site.baseurl }}{{ item.link }}">{{
item.title
}}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</nav>
</nav>

0 comments on commit 26164d8

Please sign in to comment.