From 92aec808b5e396e26e71985774e75a007bc2c089 Mon Sep 17 00:00:00 2001 From: kthouky Date: Fri, 11 Aug 2023 11:49:45 +0200 Subject: [PATCH] TOC --- fediseer/routes.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fediseer/routes.py b/fediseer/routes.py index 523e12f..48b752e 100644 --- a/fediseer/routes.py +++ b/fediseer/routes.py @@ -30,10 +30,7 @@ def index(): {style} """ - return(head + markdown( - findex, - extensions=['toc'] - )) + return(head + markdown(findex)) @logger.catch(reraise=True) @OVERSEER.route('/faq') @@ -60,7 +57,8 @@ def faq(): {style} """ - return(head + markdown(md)) + return(head + markdown(md, extensions=['toc'] +)) @logger.catch(reraise=True) @OVERSEER.route('/.well-known/webfinger')