ghost-phantom icon indicating copy to clipboard operation
ghost-phantom copied to clipboard

Updated helper references to Ghost v1.6.0 to enable successful import to Ghost(Pro)

Open EweSparky opened this issue 8 years ago • 0 comments

Importing 5.0.1 into Ghost(Pro) generated the following fatal errors. Updated helper references so import would succeed.

  • Replace the {{image}} helper with {{img_url feature_image}} or {{img_url profile_image}}
    • Affected files:
      • author.hbs: Please remove or replace {{image}} from this template
      • partials/post-meta.hbs: Please remove or replace {{image}} from this template
      • post.hbs: Please remove or replace {{image}} from this template
  • Replace the {{@blog.cover}} helper with {{@blog.cover_image}}
    • Affected files:
      • default.hbs: Please remove or replace {{@blog.cover}} from this template
      • page.hbs: Please remove or replace {{@blog.cover}} from this template
      • partials/cover.hbs: Please remove or replace {{@blog.cover}} from this template
      • partials/index-meta.hbs: Please remove or replace {{@blog.cover}} from this template
      • tag.hbs: Please remove or replace {{@blog.cover}} from this template
  • Replace the {{author.cover}} helper with {{author.cover_image}}
    • Affected files:
      • author.hbs: Please remove or replace {{author.cover}} from this template
  • Replace the {{#if image}} helper with {{#if feature_image}}, or {{#if profile_image}}
    • Affected files:
      • partials/post-meta.hbs: Please remove or replace {{#if image}} from this template
      • post.hbs: Please remove or replace {{#if image}} from this template
  • Replace the {{#if @blog.cover}} helper with {{#if @blog.cover_image}}
    • Affected files:
      • default.hbs: Please remove or replace {{#if @blog.cover}} from this template
      • page.hbs: Please remove or replace {{#if @blog.cover}} from this template
      • partials/cover.hbs: Please remove or replace {{#if @blog.cover}} from this template
      • partials/index-meta.hbs: Please remove or replace {{#if @blog.cover}} from this template
      • tag.hbs: Please remove or replace {{#if @blog.cover}} from this template
  • Replace the {{#if author.cover}} helper with {{#if author.cover_image}}
    • Affected files:
      • author.hbs: Please remove or replace {{#if author.cover}} from this template
  • Replace {{id}} with {{comment_id}} in Disqus embeds.
    • Affected files:
      • partials/comments.hbs

EweSparky avatar Aug 20 '17 05:08 EweSparky