mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Updated post preview meta description prompt
This commit is contained in:
parent
4f3733a7cf
commit
0334595a0e
2 changed files with 3 additions and 3 deletions
|
@ -254,7 +254,7 @@
|
|||
>{{@post.metaDescription}}</textarea>
|
||||
{{else}}
|
||||
<div class="gh-seo-preview-desc editable pointer" role="button" aria-label="Edit meta description" {{on "click" this.editMetaDescription}}>
|
||||
{{moment-format (now) "DD MMM YYYY"}} — {{truncate this.serpDescription 149}}
|
||||
{{moment-format (now) "DD MMM YYYY"}} — {{#if this.serpDescription}}{{truncate this.serpDescription 149}}{{else}}Search engines will automatically show a custom preview of content related to the search term here if no custom meta description is set. Click to edit.{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -66,11 +66,11 @@ export default class ModalPostPreviewSocialComponent extends Component {
|
|||
urlParts.push(this.args.post.slug);
|
||||
}
|
||||
|
||||
return urlParts.join(' > ');
|
||||
return urlParts.join(' › ');
|
||||
}
|
||||
|
||||
get serpDescription() {
|
||||
return this.args.post.metaDescription || this.args.post.excerpt;
|
||||
return this.args.post.metaDescription;
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
Loading…
Add table
Reference in a new issue