Skip to content

Commit

Permalink
disable yaml nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Naskalin committed Feb 8, 2024
1 parent d6d3d1b commit 83b9925
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<nav data-test-nav>
{% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}style="color: red;"{% endif %}>
{{ item.name }}
<nav>
<a href="/" {% if page.url == "/" %}style="color: red;"{% endif %}>
Home
</a>
<a href="/about.html" {% if page.url == "/about.html" %}style="color: red;"{% endif %}>
About
</a>
{% endfor %}
</nav>

0 comments on commit 83b9925

Please sign in to comment.