diff --git a/core/client/models/settings.js b/core/client/models/settings.js index 738cda7500..82f1dc1212 100644 --- a/core/client/models/settings.js +++ b/core/client/models/settings.js @@ -4,7 +4,11 @@ //id:0 is used to issue PUT requests Ghost.Models.Settings = Ghost.ProgressModel.extend({ url: Ghost.settings.apiRoot + '/settings/?type=blog,theme', - id: '0' + id: '0', + parse: function (resp) { + resp.permalinks = resp.permalinks === "/:slug/" ? "" : "1"; + return resp; + } }); -}()); \ No newline at end of file +}()); diff --git a/core/client/tpl/settings/general.hbs b/core/client/tpl/settings/general.hbs index 154bf56776..f90b762a49 100644 --- a/core/client/tpl/settings/general.hbs +++ b/core/client/tpl/settings/general.hbs @@ -54,6 +54,13 @@

How many posts should be displayed on each page

+
+ + + +

Include date in your post's links

+
+