mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Merge pull request #5794 from novaugust/psm-blog-url
Add config.blogUrl key to PSM's seoURL property
This commit is contained in:
commit
92e2ab72ea
@ -149,8 +149,8 @@ export default Ember.Controller.extend(SettingsMenuMixin, {
|
|||||||
return placeholder;
|
return placeholder;
|
||||||
}),
|
}),
|
||||||
|
|
||||||
seoURL: Ember.computed('model.slug', function () {
|
seoURL: Ember.computed('model.slug', 'config.blogUrl', function () {
|
||||||
var blogUrl = this.get('config').blogUrl,
|
var blogUrl = this.get('config.blogUrl'),
|
||||||
seoSlug = this.get('model.slug') ? this.get('model.slug') : '',
|
seoSlug = this.get('model.slug') ? this.get('model.slug') : '',
|
||||||
seoURL = blogUrl + '/' + seoSlug;
|
seoURL = blogUrl + '/' + seoSlug;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user