-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
categories page empty #2170
Comments
|
Have you add categories in your post front matters? ---
layout: post
title: Why Sun is the center of our solar system
date: '2014-07-02 22:44:44 -0400'
comments: true
categories:
- Solar System
- Javascript
- Simulation
--- |
yes but like that: |
Sorry, may I ask why you need to create categories folder and page? My theme is FreeMind, it requires to create those to set up categories. I also tried landscape theme, it works fine on my machine. |
Because I want to access to the categories from the menu. It's my choice ! |
I just tested on the Landscape theme, I think it is not support category page. Because this is not an issue about hexo, but it's theme. I will move the issue to there. |
I'm using icarus theme, and there is a layout file "categories.ejs" in the this theme directory, so I can create categories page by simply "hexo new page categories" and then change the layout of this page to 'categories'. |
Environment Info
Node version(
node -v
)Your site
_config.yml
Your theme
_config.yml
Lanscape
Hexo Configuration
...
hexo-vanilla-site@0.0.0 ~/hexo-vanilla-site
├── hexo@3.1.1
├── hexo-generator-archive@0.1.4
├── hexo-generator-category@0.1.3
├── hexo-generator-index@0.2.0
├── hexo-generator-tag@0.2.0
├── hexo-renderer-ejs@0.1.1
├── hexo-renderer-marked@0.2.10
├── hexo-renderer-stylus@0.3.1
└── hexo-server@0.1.3
The text was updated successfully, but these errors were encountered: