From 022d014abcfefe423ae102c8192f873a9f3e0b0e Mon Sep 17 00:00:00 2001 From: anarsec Date: Mon, 15 Apr 2024 14:07:54 +0000 Subject: [PATCH] toc relative hrefs --- config.toml | 2 +- themes/DeepThought/templates/page.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 02851b4..c834f43 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -base_url = "https://anarsec.guide" +base_url = "https://www.anarsec.guide" title = "AnarSec" default_language = "en" theme = "DeepThought" diff --git a/themes/DeepThought/templates/page.html b/themes/DeepThought/templates/page.html index e61464e..81511eb 100644 --- a/themes/DeepThought/templates/page.html +++ b/themes/DeepThought/templates/page.html @@ -53,14 +53,14 @@ {% for h1 in page.toc %}
  • + href="#{{ h1.id | safe }}"> {{ h1.title }} {% if h1.children %}