mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Merge pull request #4126 from mattiascibien/issue-4124
Incrementing hard limits for Meta title and Meta description
This commit is contained in:
commit
22af3a43a6
1 changed files with 4 additions and 4 deletions
|
@ -9,15 +9,15 @@ var PostValidator = Ember.Object.create({
|
|||
});
|
||||
}
|
||||
|
||||
if (!validator.isLength(data.meta_title, 0, 70)) {
|
||||
if (!validator.isLength(data.meta_title, 0, 150)) {
|
||||
validationErrors.push({
|
||||
message: 'Meta Title is too long.'
|
||||
message: 'Meta Title cannot be longer than 150 characters.'
|
||||
});
|
||||
}
|
||||
|
||||
if (!validator.isLength(data.meta_description, 0, 156)) {
|
||||
if (!validator.isLength(data.meta_description, 0, 200)) {
|
||||
validationErrors.push({
|
||||
message: 'Meta Description is too long.'
|
||||
message: 'Meta Description cannot be longer than 200 characters.'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue