Skip to content

Commit 2b94d15

Browse files
committed
All sidebar posts should be public
1 parent 65528a5 commit 2b94d15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spritesanddice/templatetags/menu_tags.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ def sidebar_posts(context):
6363
MAX_POSTS = 4 # Number of posts displayed per category
6464
home_page = context.request.site.root_page
6565

66-
# root_pages = home_page.get_children().specific().live().public()
67-
root_pages = home_page.get_children().specific().live()
66+
root_pages = home_page.get_children().specific().live().public()
6867
categories = []
6968

7069
# If you are viewing a category page, don't include that category in the sidebar

0 commit comments

Comments
 (0)