Skip to content

Commit 42d2339

Browse files
committed
Wording improvement
1 parent 6811a2b commit 42d2339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cms/cms_menus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def _page_to_node(page):
283283

284284
menu_node = _page_to_node(page)
285285
if menu_node:
286-
# Do not add pages without any page content
286+
# Only add pages with at least one page content
287287
cut_homepage = homepage and not homepage.get_in_navigation(lang)
288288

289289
if cut_homepage and parent_id == homepage.pk:

0 commit comments

Comments
 (0)