mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #91 from starcwl/master
fix meta-data problem, which will cause SEO of post fail.
This commit is contained in:
commit
13b78ae1f7
1 changed files with 2 additions and 2 deletions
|
@ -121,14 +121,14 @@
|
||||||
<form {{action "discardEnter" on="submit"}}>
|
<form {{action "discardEnter" on="submit"}}>
|
||||||
{{#gh-form-group errors=model.errors property="metaTitle"}}
|
{{#gh-form-group errors=model.errors property="metaTitle"}}
|
||||||
<label for="meta-title">Meta Title</label>
|
<label for="meta-title">Meta Title</label>
|
||||||
{{gh-input metaTitleScratch class="post-setting-meta-title" id="meta-title" name="post-setting-meta-title" focusOut=(action "setMetaTitle") stopEnterKeyDownPropagation="true" update=(action (mut metaTitleScratch))}}
|
{{gh-input metaTitleScratch class="post-setting-meta-title" id="meta-title" name="post-setting-meta-title" focusOut=(action "setMetaTitle" metaTitleScratch) stopEnterKeyDownPropagation="true" update=(action (mut metaTitleScratch))}}
|
||||||
<p>Recommended: <b>70</b> characters. You’ve used {{gh-count-down-characters metaTitleScratch 70}}</p>
|
<p>Recommended: <b>70</b> characters. You’ve used {{gh-count-down-characters metaTitleScratch 70}}</p>
|
||||||
{{gh-error-message errors=model.errors property="metaTitle"}}
|
{{gh-error-message errors=model.errors property="metaTitle"}}
|
||||||
{{/gh-form-group}}
|
{{/gh-form-group}}
|
||||||
|
|
||||||
{{#gh-form-group errors=model.errors property="metaDescription"}}
|
{{#gh-form-group errors=model.errors property="metaDescription"}}
|
||||||
<label for="meta-description">Meta Description</label>
|
<label for="meta-description">Meta Description</label>
|
||||||
{{gh-textarea metaDescriptionScratch class="post-setting-meta-description" id="meta-description" name="post-setting-meta-description" focusOut=(action "setMetaDescription") stopEnterKeyDownPropagation="true" update=(action (mut metaDescriptionScratch))}}
|
{{gh-textarea metaDescriptionScratch class="post-setting-meta-description" id="meta-description" name="post-setting-meta-description" focusOut=(action "setMetaDescription" metaDescriptionScratch) stopEnterKeyDownPropagation="true" update=(action (mut metaDescriptionScratch))}}
|
||||||
<p>Recommended: <b>156</b> characters. You’ve used {{gh-count-down-characters metaDescriptionScratch 156}}</p>
|
<p>Recommended: <b>156</b> characters. You’ve used {{gh-count-down-characters metaDescriptionScratch 156}}</p>
|
||||||
{{gh-error-message errors=model.errors property="metaDescription"}}
|
{{gh-error-message errors=model.errors property="metaDescription"}}
|
||||||
{{/gh-form-group}}
|
{{/gh-form-group}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue