aboutsummaryrefslogtreecommitdiff
path: root/_includes/nav.html
blob: 12789b4c49c3e654d9e8ab8868a3dff60e7b64be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<nav>
  <div class="contacts">
    <div class="contacts__name">
      <a href="/" class="title-link">{{ site.name }}</a>
    </div>
    <div class="contacts__info">
      <span class="contacts__position">{{ site.position }}, <span id="age">20</span> at {{ site.location }}</span>
    </div>
  </div>

  <menu class="menu">
    <ul class="menu-horizontal">
      {% for my_page in site.pages %}
        {% if my_page.title %}
          <li class="menu-horizontal__item">
            <a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
          </li>
        {% endif %}
      {% endfor %}
      {% for link in site.links %}
        {% if link.title %}
          <li class="menu-horizontal__item">
            <a href="{{ link.url }}">{{ link.title | escape }}</a>
          </li>
        {% endif %}
      {% endfor %}
    </ul>
  </menu>
</nav>