From 09a33131238f4d8c72468790f26c56f8a98930d3 Mon Sep 17 00:00:00 2001 From: ko1N Date: Sun, 17 Dec 2023 14:42:47 +0100 Subject: [PATCH] Added slashes to prevent github redirects --- main.py | 8 ++++---- templates/main.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 4db47f3..d7d6f91 100644 --- a/main.py +++ b/main.py @@ -15,10 +15,10 @@ # Define custom variables passed over to the templates template_vars = { 'navbar': [ - ('', 'Home'), - ('about', 'About'), - ('quick_start', 'Quick start guide'), - ('docs', 'Documentation'), + ('/', 'Home'), + ('about/', 'About'), + ('quick_start/', 'Quick start guide'), + ('docs/', 'Documentation'), ] } diff --git a/templates/main.html b/templates/main.html index 2403773..dc08237 100644 --- a/templates/main.html +++ b/templates/main.html @@ -18,7 +18,7 @@ /_/ /_/ /_/\___/_/ /_/ /_/_/ /_/\____/|__/|__/