Skip to content
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

Question: why change link path? #47

Open
girishji opened this issue Aug 21, 2022 · 1 comment
Open

Question: why change link path? #47

girishji opened this issue Aug 21, 2022 · 1 comment
Labels

Comments

@girishji
Copy link

When links get generated for posts they don’t include category name as the first thing in the path. Links starts with year instead. Anyone switching to this theme will have links broken if they posted links to post else where

@yous yous added the question label Aug 21, 2022
@yous
Copy link
Owner

yous commented Aug 21, 2022

That's because whiteglass' _config.yml has the following line:

permalink: /:year/:month/:day/:title/

Jekyll's default value of permalink is date, which is /:categories/:year/:month/:day/:title:output_ext.

You can set your own permalink option in your _config.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants