diff --git a/ghost/core/core/server/models/base/plugins/generate-slug.js b/ghost/core/core/server/models/base/plugins/generate-slug.js index a021bd9bf0e6..89e5bd32f1c9 100644 --- a/ghost/core/core/server/models/base/plugins/generate-slug.js +++ b/ghost/core/core/server/models/base/plugins/generate-slug.js @@ -91,7 +91,7 @@ module.exports = function (Bookshelf) { } // Generate serially-numbered post slug if (baseName === 'post') { - if (base.endsWith('@true')) { + if (base.endsWith('-true')) { slug = slug.replace(/-true$/, ''); } else if (!options.transacting) { const sql = `