hexo-theme-landscape icon indicating copy to clipboard operation
hexo-theme-landscape copied to clipboard

Can't create category page

Open NoahDragon opened this issue 9 years ago • 3 comments

Issue from https://github.com/hexojs/hexo/issues/2170 @phicarre

  1. I created a page with the command: hexo new page categories
  2. In source/categories/index.md, I added type: categories in the front matter
  3. In the _config.yml of the theme, I added in the menu: Categories: /categories but my page is always empty ! What is missing ?

I also investigate the issue, and couldn't find a solution. Do we support category layout in this theme?

NoahDragon avatar Oct 03 '16 00:10 NoahDragon

I have the same problem, does this theme support category pages?

itpropro avatar Sep 25 '18 00:09 itpropro

Yes, category pages are produced for categories. Here is my category test confirming operation with my employment of the landscape theme: http://orcmid.com/BlunderDome/wingnut/2017/12/02/Categories/ Notice the category list on the sidebar, and the links to category pages. (The category pages lack a title that conveys the category, so that's something to ponder. The category is in the URL.)

To see whatever I did regarding the enabling of category pages, you can see my sources at https://github.com/orcmid/hexo-theme-landscape-wingnut for the landscape theme,

See https://github.com/orcmid/hexo-spanner for category-related information in the overall blog, especially in the _config.yml

orcmid avatar Sep 25 '18 04:09 orcmid

I have the same problem in #158, but I have no idea how to fix it.

estrm avatar Jan 17 '20 01:01 estrm