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:
parent
7190e1d2a3
commit
097642865d
1 changed files with 1 additions and 1 deletions
|
@ -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/"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue