0
Fork 0
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:
Hannah Wolfe 2014-09-24 12:16:41 +01:00
commit 22af3a43a6

View file

@ -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.'
});
}