-
Notifications
You must be signed in to change notification settings - Fork 379
Description
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