diff --git a/readme.md b/readme.md index 388da97..b15965b 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ The content of the website will be in the `public/` folder. # Todo -- [ ] Modify templates/nav.html to take into account the current page +- [x] Modify templates/nav.html to take into account the current page - [ ] Select better colors - [ ] Multi-language (fr/en) support - https://www.getzola.org/documentation/content/multilingual/ diff --git a/sass/_base.scss b/sass/_base.scss index c085b09..410c97d 100644 --- a/sass/_base.scss +++ b/sass/_base.scss @@ -119,7 +119,7 @@ nav { background-color: $menu_btn-selected; text-decoration: none; } - a.nav_selected { + a.nav_current { background-color: $menu_btn-selected; } font-size: 14pt; diff --git a/templates/nav.html b/templates/nav.html index 853cdca..4e91a79 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,9 +1,9 @@