block-header-1.html 550 Bytes
Newer Older
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
1
2
3
<header class="block block-header-1">

  <div class="block-header-1--logo">
DJ's avatar
DJ committed
4
5
    <a href="{{ site.url | relative_url }}">
      <img src="{{ section.logo | relative_url }}" alt="{{ site.title }}">
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
6
7
8
    </a>
  </div>

Hanna Schraffenberger's avatar
Hanna Schraffenberger committed
9
  <nav class="block-header-1--nav" id="myTopnav">
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
10
    <ul>
DJ's avatar
DJ committed
11
12
13
      {% for nav_item in section.navigation %}
      <li class="nav-item {% if page.url == nav_item.link %}active{% endif %}"><a href="{{ nav_item.link }}">{{ nav_item.link_text }}</a></li>
      {% endfor %}
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
14
15
16
    </ul>
  </nav>

Hanna Schraffenberger's avatar
Fix    
Hanna Schraffenberger committed
17
18
19
20
</header>
<div class="spacer">
  &nbsp;
</div>