From ff3fc16df1c3c246f2c16dc20edc4f72cbe541c9 Mon Sep 17 00:00:00 2001 From: abhinavis2005 Date: Wed, 22 May 2024 20:57:37 +0530 Subject: [PATCH] fixing navbar --- config.toml | 10 +++++----- templates/blog-page.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index 4deb69e..8732e29 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -base_url = "https://exploiitm.github.io" +base_url = "https://exploiitm.github.io/blog" title = "exploiitm blog" description = "Official blog of Cybersecurity Club, IIT Madras" compile_sass = false @@ -38,10 +38,10 @@ twitter_card = true header_nav = [ { url = "https://exploiitm.github.io/", name_en = "home" }, - { url = "/blog", name_en = "blog"}, - { url = "/blog/resources", name_en = "resources"}, - { url = "/blog/posts", name_en = "posts"}, - { url = "/blog/about" ,name_en = "about"} + { url = "/", name_en = "blog"}, + { url = "/resources", name_en = "resources"}, + { url = "/posts", name_en = "posts"}, + { url = "/about" ,name_en = "about"} ] # Optional footer license text. It will only show, when using footer_content_license. diff --git a/templates/blog-page.html b/templates/blog-page.html index dcfe951..29598fa 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -40,7 +40,7 @@

Table of contents

{% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} - /{{ tag }}/ + /{{ tag }}/ {% endfor %} {% endif %}