website/_includes/header.html

19 lines
619 B
HTML
Raw Normal View History

2023-01-21 18:06:10 +00:00
{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
2023-10-14 13:44:42 +00:00
<div>
<a id="home-link" href="/index.html">
<img class="menu-logo" src="assets/base/distrust-text-white.svg" alt="Distrust broken chain logo with white text"/>
</a>
</div>
2023-01-21 18:06:10 +00:00
<ul>
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
{%- endif -%}
{%- endfor -%}
</ul>
</div>
</header>