0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Adding author as a permalink option

closes #3858

- ensures that permalinks can be validated if author is set
This commit is contained in:
Hannah Wolfe 2015-05-24 20:23:13 +01:00
parent 7190e1d2a3
commit 097642865d

View file

@ -58,7 +58,7 @@
"defaultValue": "/:slug/",
"validations": {
"matches": "^(\/:?[a-z0-9_-]+){1,5}\/$",
"matches": "(:id|:slug|:year|:month|:day)",
"matches": "(:id|:slug|:year|:month|:day|:author)",
"notContains": "/ghost/"
}
},