diff --git a/_includes/footer.html b/_includes/footer.html
index aebe0e9..dafd436 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -40,14 +40,14 @@
Research
{% for nav in site.data.footer-research %} {% include
- nav-item.html %} {% endfor %}
+ nav-item-footer.html %} {% endfor %}
Socials
- {% for nav in site.data.footer-socials %} {% include nav-item.html
- %} {% endfor %}
+ {% for nav in site.data.footer-socials %} {% include
+ nav-item-footer.html %} {% endfor %}
@@ -56,7 +56,7 @@
Projects
{% for nav in site.data.footer-projects %} {% include
- nav-item.html %} {% endfor %}
+ nav-item-footer.html %} {% endfor %}
diff --git a/_includes/header.html b/_includes/header.html
index a9cb5b3..7411768 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -71,17 +71,8 @@
l:p-0
"
>
- {% for nav in site.data.navigation %}
-
- {% if nav.path %}
- {{ nav.title }}
- {% endif %} {% if nav.link %}
- {{ nav.title }}
- {% endif %}
-
- {% endfor %}
+ {% for nav in site.data.navigation %} {% include nav-item.html %} {%
+ endfor %}
@@ -140,17 +131,8 @@
font-normal
"
>
- {% for nav in site.data.navigation %}
-
- {% if nav.path %}
- {{ nav.title }}
- {% endif %} {% if nav.link %}
- {{ nav.title }}
- {% endif %}
-
- {% endfor %}
+ {% for nav in site.data.navigation %} {% include nav-item.html %} {%
+ endfor %}
{% include social.html %}
diff --git a/_includes/nav-item-footer.html b/_includes/nav-item-footer.html
new file mode 100644
index 0000000..2d66cd7
--- /dev/null
+++ b/_includes/nav-item-footer.html
@@ -0,0 +1,5 @@
+-
+ {{ nav.title }}
+
diff --git a/_includes/nav-item.html b/_includes/nav-item.html
index 2d66cd7..c85416d 100644
--- a/_includes/nav-item.html
+++ b/_includes/nav-item.html
@@ -1,5 +1,9 @@
--
+
-
+ {% if nav.path %}
+ {{ nav.title }}
+ {% endif %} {% if nav.link %}
{{ nav.title }}
+ {% endif %}