mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Removed leftover v0.1 meta title helper code
This commit is contained in:
parent
527dba8839
commit
cbca480b97
@ -47,14 +47,6 @@ function getTitle(data, root, options) {
|
||||
} else {
|
||||
title = data.post.meta_title || data.post.title;
|
||||
}
|
||||
// Page title v0.1
|
||||
} else if (_.includes(context, 'page') && data.post) {
|
||||
if (options && options.property) {
|
||||
postSdTitle = options.property + '_title';
|
||||
title = data.post[postSdTitle] || '';
|
||||
} else {
|
||||
title = data.post.meta_title || data.post.title;
|
||||
}
|
||||
// Page title v2
|
||||
} else if (_.includes(context, 'page') && data.page) {
|
||||
if (options && options.property) {
|
||||
|
Loading…
Reference in New Issue
Block a user