Python Pelican: How can I separate content by category?

孤街浪徒 提交于 2019-12-11 04:31:53

问题


I want to have a few elements on the menu:

  • blog
  • about
  • projects
  • texts
  • experiments

I have 3 first items in the menu - blog is a folder with articles, about and projects are pages. However, when I create another folder "texts" and add .md files to it, articles still appears under "blog" with 'texts' as a category.

I can manually create two Menue items and bound them to text and blogpost searches, but is there any more elegand way to separate content?

来源:https://stackoverflow.com/questions/38880158/python-pelican-how-can-i-separate-content-by-category

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!