Migration sections to categories: how to create index pages? #3817
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Some relevant(?) snippets: From CATEGORY_DESCRIPTIONS = {
DEFAULT_LANG: {
'news': 'wxPython News',
'blog': "wxForty-Two, a.k.a Robin's Ramblings"
},
} An example header from a news post "posts/news/2018-06-25-wxpython-4.0.3-release.md"
|
Beta Was this translation helpful? Give feedback.
-
No idea anyone? |
Beta Was this translation helpful? Give feedback.
-
You should also adjust the two settings that are responsible for those paths (set both to CATEGORY_PATH = "categories"
CATEGORY_PREFIX = "cat_" |
Beta Was this translation helpful? Give feedback.
-
Thanks, but that does not seem to work. CATEGORY_PATH = ""
CATEGORY_PREFIX = ""
CATEGORY_PATH = ""
CATEGORY_PREFIX = "cat_"
CATEGORY_PATH = "."
CATEGORY_PREFIX = "" result in:
It seems that with an empty path also the prefix and category are ignored. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Try setting
CATEGORIES_INDEX_PATH = "categories.html"
to resolve the conflict.