Pelican's USE_FOLDER_AS_CATEGORY setting and behaviour
Pelican's USE_FOLDER_AS_CATEGORY setting is set to True by default. If you place an article within a subfolder of the content folder, and don't specify a category in your article metadata, then the name of the subfolder will be the category of your article. However, the documentation does not specify Pelican's behavior under all possible situations. E.g. What happens if an article is within a subfolder, and its category is specified but different the name of the subfolder?
We summarize Pelican's behavior under all possible circumstances here.
|USE_FOLDER_AS_CATEGORY||Category c specified in metadata||Article in subfolder d||Article's Category|
CommentsComments powered by Disqus