From 541c8e67adec1a6ae79ccd7eb953972d81ad32a3 Mon Sep 17 00:00:00 2001 From: starcwl Date: Sat, 25 Jun 2016 17:29:03 +0800 Subject: [PATCH] fix meta-data problem, which will cause SEO of post fail. no issue - fixed focus-out action calls in post-settings-menu meta fields which miss arguments metaDescriptionScratch and metaTitleScratch. --- ghost/admin/app/templates/post-settings-menu.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/templates/post-settings-menu.hbs b/ghost/admin/app/templates/post-settings-menu.hbs index 1cdf1650fb..3a80b09e9f 100644 --- a/ghost/admin/app/templates/post-settings-menu.hbs +++ b/ghost/admin/app/templates/post-settings-menu.hbs @@ -121,14 +121,14 @@
{{#gh-form-group errors=model.errors property="metaTitle"}} - {{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))}}

Recommended: 70 characters. You’ve used {{gh-count-down-characters metaTitleScratch 70}}

{{gh-error-message errors=model.errors property="metaTitle"}} {{/gh-form-group}} {{#gh-form-group errors=model.errors property="metaDescription"}} - {{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))}}

Recommended: 156 characters. You’ve used {{gh-count-down-characters metaDescriptionScratch 156}}

{{gh-error-message errors=model.errors property="metaDescription"}} {{/gh-form-group}}