From a6aa58f8fb5c051053c9b051d57e982b43348fe8 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 22 Jun 2022 15:18:57 -0400 Subject: [PATCH] fix(website): block out link and highlight current page in nav bar --- website/config.toml | 6 +-- .../themes/hsh/layouts/partials/header.html | 46 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/website/config.toml b/website/config.toml index cc9c81f..1a3a52a 100644 --- a/website/config.toml +++ b/website/config.toml @@ -7,17 +7,17 @@ theme = 'hsh' [[menu.nav]] identifier = 'home' name = 'Home' - url = '/' + pageref = '/' weight = 1 [[menu.nav]] identifier = 'install' name = 'Install' - url = '/install' + pageref = '/install/' weight = 2 [[menu.nav]] identifier = 'docs' name = 'Docs' - url = '/docs' + pageref = '/docs/' weight = 3 [markup.goldmark.renderer] diff --git a/website/themes/hsh/layouts/partials/header.html b/website/themes/hsh/layouts/partials/header.html index 6c3f98c..e46e91a 100644 --- a/website/themes/hsh/layouts/partials/header.html +++ b/website/themes/hsh/layouts/partials/header.html @@ -1,25 +1,25 @@
- +