aboutsummaryrefslogtreecommitdiff
path: root/_includes/navbar.html
blob: 7c0c8c42601b3a21aa64359adebc773b0d08425b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{% assign pages = site.pages | where: "show", true %}

<nav class="navigation">
  <a href="{{ site.url | uri_escape }}">Home</a>

  {% for page in pages %}
    <a href="{{ page.url | relative_url | uri_escape }}">
      {{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}
    </a>
  {% endfor %}
</nav>