lynnesbian.space/_includes/header.html

27 lines
1 KiB
HTML
Raw Normal View History

2020-03-12 09:21:03 +00:00
<header>
2020-03-12 09:28:12 +00:00
<span class='internal'>
2020-03-15 13:24:58 +00:00
<a href='/' {%- if page.title == "Welcome!" %} class='current'{% endif -%}>Home</a>
2020-03-16 16:32:01 +00:00
{%- assign main_pages = site.html_pages | where: "less_important", null -%}
{%- assign less_important = site.html_pages | where: "less_important", true -%}
{%- for html_page in main_pages -%}
2020-03-15 13:24:58 +00:00
{%- unless html_page.url == '/' -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a>
{%- endunless -%}
{%- endfor -%}
2020-03-16 16:32:01 +00:00
<span class='more'>
{%- comment -%} todo: maybe make this collapsible? {%- endcomment -%}
{%- for html_page in less_important -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a>
{%- endfor -%}
</span>
2020-03-12 09:28:12 +00:00
</span>
2020-03-16 15:15:43 +00:00
<span class='other'>
2020-03-12 09:28:12 +00:00
<a href='https://bune.city'>Blog</a><a href='https://github.com/lynnesbian'>GitHub</a><a href='https://git.bune.city/lynnesbian'>Gitea</a>
2020-03-16 15:15:43 +00:00
<span id='theme-control'></span>
2020-03-12 09:28:12 +00:00
</span>
2020-03-15 13:24:58 +00:00
</header>