-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Customisable Permalinks #1395
Comments
Would it make sense to approach this more as "flexible permalinks" rather than "2 permalink structures" ? Eg. how wordpress allows you to make up your own /%post-title%/%year%/%hamster%/ if you want (from an implementation pov) |
Valid question, but it doesn't matter at this stage - we have no UI for this at the moment so might as well be a switch you can flip or a checkbox or whatever. Point of this issue is to refactor Ghost such that the permalink structure is not baked in, then we can make a fancy way of specifying what the permalink should be as a further enhancement. |
Should we leave this open to track the UI and live reloading stuff as well? |
Yeah I think so :) |
Is there anything more to do on this? |
Just the UI. |
Ok cool, I'll open #1631 instead 👍 |
Leaving this here, link to express's path to regex function. We could use this when allowing for even greater permalink functionality. https://github.com/visionmedia/express/blob/master/lib/utils.js#L156 from irc
|
Ghost should be able to support the common
/year/month/day/title/
format, as well as the current flat
/title/
Other formats may be added, but making Ghost support 2 is a big enough task for one issue :)
For now, the UI to switch over should be a checkbox on the general settings screen.
The text was updated successfully, but these errors were encountered: