mirror of
https://github.com/ChronosX88/chronosx88.github.io.git
synced 2024-10-18 05:20:59 +00:00
16 lines
558 B
HTML
16 lines
558 B
HTML
|
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
||
|
|
||
|
<header>
|
||
|
<div class="menu">
|
||
|
<ul>
|
||
|
<li class="page_title">{{ page.title }}</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.permalink_name | replace: " ", "-" | replace: "/", "" | my_page.permalink | replace: "/", "" | ERROR }}</a></li>
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|
||
|
</ul>
|
||
|
</div>
|
||
|
</header>
|