diff --git a/_data/navigation.yml b/_data/navigation.yml index 4d6069af9b4..2a2d7b60e7b 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,5 +1,5 @@ -- name: OSD 2023 - link: /OSD/ +- name: Hacktoberfest + link: /hacktoberfest/ - name: Home link: / - name: Guides diff --git a/_layouts/default.html b/_layouts/default.html index 5355670a869..8327db0fc84 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -44,7 +44,7 @@ {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} {% elsif page.url contains 'blog' and item.name == 'Blog' %} {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} - {% elsif page.url contains 'OSD' and item.name == 'OSD 2023' %} + {% elsif page.url contains 'hacktoberfest' and item.name == 'Hacktoberfest' %} {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} {% else %} {% assign class = 'mdl-navigation__link' %} @@ -69,12 +69,12 @@ {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} {% elsif page.url contains 'blog' and item.name == 'Blog' %} {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} - {% elsif page.url contains 'OSD' and item.name == 'OSD 2023' %} + {% elsif page.url contains 'hacktoberfest' and item.name == 'Hacktoberfest' %} {% assign class = 'mdl-navigation__link mdl-navigation__link--current' %} {% else %} {% assign class = 'mdl-navigation__link' %} {% endif %} - {% if item.name == 'OSD 2023' %} + {% if item.name == 'Hacktoberfest' %} {% assign class = class | append: " highlight-sidebar" %} {% endif %} {% if item.name == 'GitHub' %} diff --git a/_layouts/hacktoberfest.html b/_layouts/hacktoberfest.html index bf2c237092a..037b2122af0 100644 --- a/_layouts/hacktoberfest.html +++ b/_layouts/hacktoberfest.html @@ -2,6 +2,6 @@ layout: default ---