How do I change the slime in Ghost to include only the year and month?
In the latest version, you allowed us to add the date to the slug post. Can I only add the year and month? Even editing code? Because I am trying to migrate from Wordpress, I need this. In WP, I use this format. Please, help!
Note: I'm using Ghost 0.5
+3
THpubs
source
to share
1 answer
This is currently only possible in the database. You can change the key value permalinks
in the read settings table /:year/:month/:slug
or run the following query on the database:
UPDATE settings SET value = '/:year/:month/:slug` WHERE key = 'permalinks'
If you are using the default database (SQLite3) you can use a tool like SQLite Browser
+5
halfdan
source
to share