Skip to content

Commit

Permalink
calendar menu link and sidebar for blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
maharshi-gor committed Sep 29, 2023
1 parent 718bcc9 commit ac2c158
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@
{
"name": "News",
"children": [
{
"name": "Calendar",
"url": "calendar",
},
{
"name": "Newsletters",
"url": "https://mail.python.org/mailman3/lists/dipy.python.org/",
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ac2c158

Please sign in to comment.