website-public/_includes/header.html

23 lines
677 B
HTML
Raw Normal View History

{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
<ul>
<li style="float: left">
<a href="/" style="display: flex">
<img height="30px" src="/assets/base/milksad_transparent.svg" />
<div style="padding: 5px 0px 0px 5px">Milk Sad</div>
</a>
</li>
{%- 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>