Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not import on Ghostium 1.21.5 #188

Open
Sousaplex opened this issue Mar 17, 2018 · 0 comments
Open

Could not import on Ghostium 1.21.5 #188

Sousaplex opened this issue Mar 17, 2018 · 0 comments

Comments

@Sousaplex
Copy link

I'm sharing what Ghost says is a fatal error. I would make the change but am not comfortable enough.
1
Replace {{pageUrl}} with {{page_url}}
The helper {{pageUrl}} was replaced with {{page_url}}.
Find more information about the {{page_url}} helper here.

Affected files:
partials/pagination.hbs: Please remove or replace {{pageUrl}} from this template

2
Replace the {{author.image}} helper with {{author.profile_image}}
The image attribute in author context was replaced with profile_image.
Instead of {{author.image}} you need to use {{author.profile_image}}.
See the object attributes of author here.

Affected files:
page.hbs: Please remove or replace {{author.image}} from this template
post.hbs: Please remove or replace {{author.image}} from this template

3
Replace the {{@blog.cover}} helper with {{@blog.cover_image}}
The cover attribute was replaced with cover_image.
Instead of {{@blog.cover}} you need to use {{@blog.cover_image}}.
See here.

Affected files:
partials/cover.hbs: Please remove or replace {{@blog.cover}} from this template

4
Replace the {{#if @blog.cover}} helper with {{#if @blog.cover_image}}
The cover attribute was replaced with cover_image.
Instead of {{#if @blog.cover}} you need to use {{#if @blog.cover_image}}.
See here.

Affected files:
partials/cover.hbs: Please remove or replace {{#if @blog.cover}} from this template

5
Replace the {{#if author.image}} helper with {{#if author.profile_image}}
The image attribute in author context was replaced with profile_image.
Instead of {{#if author.image}} you need to use {{#if author.profile_image}}.
See the object attributes of author here.

Affected files:
page.hbs: Please remove or replace {{#if author.image}} from this template
post.hbs: Please remove or replace {{#if author.image}} from this template

6
Replace {{id}} with {{comment_id}} in Disqus embeds.
The output of {{id}} has changed between Ghost LTS and 1.0.0. This results in Disqus comments not loading on Ghost 1.0.0 posts which were imported from Ghost LTS. To resolve this, we've added a new {{comment_id}} helper that will output the old ID for posts that have been imported from LTS, and the new ID for new posts. The Disqus embed must be updated from this.page.identifier = 'ghost-{{id}}'; to this.page.identifier = 'ghost-{{comment_id}}'; to ensure Disqus continues to work.

Affected files:
post.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

No branches or pull requests

1 participant