Merge pull request #91 from starcwl/master

fix meta-data problem, which will cause SEO of post fail.
This commit is contained in:
Austin Burdine 2016-06-27 04:32:19 -06:00 committed by GitHub
commit 13b78ae1f7

View File

@ -121,14 +121,14 @@
<form {{action "discardEnter" on="submit"}}>
{{#gh-form-group errors=model.errors property="metaTitle"}}
<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. Youve used {{gh-count-down-characters metaTitleScratch 70}}</p>
{{gh-error-message errors=model.errors property="metaTitle"}}
{{/gh-form-group}}
{{#gh-form-group errors=model.errors property="metaDescription"}}
<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. Youve used {{gh-count-down-characters metaDescriptionScratch 156}}</p>
{{gh-error-message errors=model.errors property="metaDescription"}}
{{/gh-form-group}}