From ac2c158685732bf34fd9e78b5bbb7f32b4f6b85d Mon Sep 17 00:00:00 2001 From: maharshigor Date: Fri, 29 Sep 2023 16:34:51 -0400 Subject: [PATCH] calendar menu link and sidebar for blogs --- conf.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index cea59838..abde2bce 100644 --- a/conf.py +++ b/conf.py @@ -227,6 +227,10 @@ { "name": "News", "children": [ + { + "name": "Calendar", + "url": "calendar", + }, { "name": "Newsletters", "url": "https://mail.python.org/mailman3/lists/dipy.python.org/", @@ -464,7 +468,14 @@ #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {'index': 'indexsidebar.html'} +html_sidebars = {'blog': [ + 'ablog/postcard.html', 'ablog/recentposts.html', + 'ablog/tagcloud.html', 'ablog/categories.html', + 'ablog/archives.html', ], + 'posts/**': [ + 'ablog/postcard.html', 'ablog/recentposts.html', + 'ablog/tagcloud.html', 'ablog/categories.html', + 'ablog/archives.html', ]} # Additional templates that should be rendered to pages, maps page names to # template names.