-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Change default category "Blog" title ? #202
Comments
Sorry, "blog" is a default category cannot be removed, the uri cannot be changed, however, you can define a |
Kelvinh, I changed the label but the url still shows blog. Is there a way to change this behavior so the url is formed with the label variable? |
Try add the following option in your org file:
|
the url of individual posts are correct. But the url in the navigation bar is using the category name (blog) instead of the label (notes). I think it is related with the variable: category-uri. Is it getting the name 'blog' or the assigned label? |
Yes, it's rendered by |
The newest commit has fixed this problem, happy hacking! |
That's great, thank you. |
What is broken? the ignore list cannot ignore the blog category, as it's one of the default categories. |
It seems that a category with a different label produce a new folder with the label name without a index.html, and since the url is generated by a folder with a index.html you don't get the list of entries in the category. It's better to keep the way it was, the label only change the name displayed, not the url. |
Yes, you are right, the commit has been reverted. There is another dirty way to achieve this: edit the template nav.mustache, put the things you wanted there directly. |
Can I use another name like "Post" as the title for that category?
The text was updated successfully, but these errors were encountered: