mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
🎨 Improved meta description preview
This commit is contained in:
parent
e8d3add2bd
commit
4f3733a7cf
3 changed files with 3 additions and 3 deletions
|
@ -245,7 +245,7 @@
|
|||
</div>
|
||||
<div class="gh-seo-preview-link">{{this.seoURL}}</div>
|
||||
<div class="gh-seo-preview-title">{{truncate this.seoTitle 60}}</div>
|
||||
<div class="gh-seo-preview-desc">{{moment-format (now) "DD MMM YYYY"}} — {{truncate this.seoDescription 149}}</div>
|
||||
<div class="gh-seo-preview-desc">{{moment-format (now) "DD MMM YYYY"}} — {{#if this.seoDescription}}{{truncate this.seoDescription 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.{{/if}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -62,7 +62,7 @@ export default class GhPostSettingsMenu extends Component {
|
|||
@boundOneWay('post.uuid')
|
||||
uuidValue;
|
||||
|
||||
@or('metaDescriptionScratch', 'customExcerptScratch', 'post.excerpt')
|
||||
@or('metaDescriptionScratch', 'customExcerptScratch')
|
||||
seoDescription;
|
||||
|
||||
@or(
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
</div>
|
||||
<div class="gh-seo-preview-link">{{this.seoURL}}</div>
|
||||
<div class="gh-seo-preview-title">{{this.seoTitle}}</div>
|
||||
<div class="gh-seo-preview-desc">{{this.seoDescription}}</div>
|
||||
<div class="gh-seo-preview-desc">{{#if this.seoDescription}}{{truncate this.seoDescription 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.{{/if}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue