2021-03-25 02:18:10 +00:00
|
|
|
<header id="header" class="f5 pa3 flex bb b--dark-green bg-washed-green justify-between sticky top-0 w-100 items-baseline">
|
2021-03-07 22:59:37 +00:00
|
|
|
{%- assign default_paths = site.pages | map: "path" -%}
|
|
|
|
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
|
|
|
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
2021-03-25 02:18:10 +00:00
|
|
|
<a class="no-underline f4 dark-green anthony" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
2021-03-07 22:59:37 +00:00
|
|
|
|
|
|
|
{%- if titles_size > 0 -%}
|
|
|
|
<nav>
|
|
|
|
{%- for path in page_paths -%}
|
|
|
|
{%- assign my_page = site.pages | where: "path", path | first -%}
|
|
|
|
{%- if my_page.title -%}
|
2021-03-25 02:18:10 +00:00
|
|
|
<a class="f7 no-underline dark-green" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
2021-03-07 22:59:37 +00:00
|
|
|
{%- endif -%}
|
|
|
|
{%- endfor -%}
|
|
|
|
</nav>
|
|
|
|
{%- endif -%}
|
|
|
|
</header>
|