Skip to content

Commit e09c207

Browse files
committed
fix header
1 parent 9f09815 commit e09c207

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

_includes/header.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@
1717
</label>
1818

1919
<div class="trigger">
20-
{%- for path in page_paths -%}
21-
{%- assign my_page = site.pages | where: "path", path | first -%}
22-
{%- unless my_page.exclude_from_nav -%}
23-
{%- if my_page.title -%}
24-
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
25-
{%- endif -%}
26-
{%- endunless -%}
27-
{%- endfor -%}
20+
<a class="page-link" href="{{ "/" | relative_url }}">About me</a>
21+
<a class="page-link" href="{{ "/books/" | relative_url }}">Books</a>
22+
<a class="page-link" href="{{ "/tech/" | relative_url }}">Tech</a>
2823
</div>
2924
</nav>
3025
{%- endif -%}

0 commit comments

Comments
 (0)