-
Notifications
You must be signed in to change notification settings - Fork 151
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
Ensure permalinks always include the date #12
Comments
So do you want |
I don't have a preference 😄 |
Because for the second option we can just use the custom permalink setting per page/post. Then old links would be preserved and we can start using the new permalink naming now. |
If there is a way that preserves old permalinks, I would definitely opt for that route. |
@lislis what's the state on this one? Is there a preferred format we should be using? |
@carpodaster @lislis is there much work to be done on this one? |
I'm not familiar with all the permalink options jekyll has to offer. I see the most recent blog post isn't scoped by date / year. I think the 'cuprit' is the fully qualified path in the liquid header:
I think we should just have |
@carpodaster I'm not sure if that's what you meant, but I just tried changing the permalink to what you said (removing |
@alicetragedy I remember having read something about a default permalink scheme defined in |
I'd love to have a final solution for this – right now, we are using dates in the permalink (specified in each post's header) directly. |
I think it's perfectly fine. The only thing that bothers me is that we have to manually edit the permalink. But unless we want to bust the permalinks of all existing blog posts that didn't include the date, I see no other way 😿 |
Since the upgrade to jekyll 3.0, permalinks are even more broken than they used to be (3.0 has removed the automatic trailing slash, meaning that all old links, with trailing slashes, are broken on the interwebz, see this post). If using a permalink in a single post overrides the permalink in This sounds super complicated but I don’t really see a good way to not break any more old links unless I’ve missed something super obvious... |
Many of our permalinks/slugs are not scoped by a date or even a year. We can change the permalink format easy enough, but are we ok with breaking all potential links to our site?
Unfortunately, there is no way for gh-pages to return 301 redirects.
The text was updated successfully, but these errors were encountered: