-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding nav yaml, trying commit through vscode
- Loading branch information
Tatikola, Indira
committed
Nov 22, 2023
1 parent
f1e9f1d
commit 9092056
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- name: Home | ||
link: / | ||
- name: About | ||
link: /about.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<nav> | ||
<a href="/" {% if page.url == "/" %}style="color: pink;"{% endif %}> | ||
Home | ||
</a> | ||
<a href="/about.html" {% if page.url == "/about.html" %}style="color: pink;"{% endif %}> | ||
About | ||
</a> | ||
{% for item in site.data.navigation %} | ||
<a href = "{{ item.link }}" {% if page.url == item.link %} style="color: pink;" {% endif %} > | ||
{{ item.name }} | ||
</a> | ||
{% endfor %} | ||
</nav> |