Skip to content

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

Open
EweSparky wants to merge 3 commits intonitinthewiz:phantomfrom
EweSparky:phantom
Open

Updated helper references to Ghost v1.6.0 to enable successful import to Ghost(Pro)#34
EweSparky wants to merge 3 commits intonitinthewiz:phantomfrom
EweSparky:phantom

Conversation

@EweSparky
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant