Browse Source

Update header.html

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
b362feeeb4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      _includes/header.html

10
_includes/header.html

@ -3,7 +3,7 @@
<ul class='title-area'> <ul class='title-area'>
<li class=""> <li class="">
<h1> <h1>
<a href='{{site.url}}/index.html'> <a href='{{site.baseurl}}/index.html'>
<span>L.</span>avar <span>L.</span>avar
</a> </a>
</h1> </h1>
@ -26,18 +26,18 @@
{% if item.children %} {% if item.children %}
<li class="has-dropdown {{active_class}}"> <li class="has-dropdown {{active_class}}">
<a href="{{site.url}}/{{ item.path }}">{{ item.name }}</a> <a href="{{site.baseurl}}/{{ item.path }}">{{ item.name }}</a>
<ul class='dropdown'> <ul class='dropdown'>
{% for child in item.children %} {% for child in item.children %}
<li> <li>
<a href="{{site.url}}/{{ child.path }}">{{ child.name }}</a> <a href="{{site.baseurl}}/{{ child.path }}">{{ child.name }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</li> </li>
{% else %} {% else %}
<li class="{{active_class}}"> <li class="{{active_class}}">
<a href="{{site.url}}/{{ item.path }}">{{ item.name }}</a> <a href="{{site.baseurl}}/{{ item.path }}">{{ item.name }}</a>
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@ -45,4 +45,4 @@
</ul> </ul>
</section> </section>
</nav> </nav>
</div> </div>

Loading…
Cancel
Save