oswaldoacauan / ghostium

A Ghost theme focused on content based on Medium design/ux.
https://ghost.org/?lmref=our-LA
MIT License
1.27k stars 383 forks source link

Ghost 1.0 Compatability #171

Closed ErisDS closed 7 years ago

ErisDS commented 7 years ago

This fixes the only critical/fatal issue that will mean the theme won't run with Ghost 1.0. This change is backwards compatible to Ghost 0.4.2, so should have no impact.

Essentially pageUrl was deprecated in favour of page_url in 0.4.2, and removed totally in 1.0.0

There are other recommendations for changes, however they are recommended not required.

Jason-Chan commented 7 years ago

The helper {{pageUrl}} was replaced with {{page_url}}. Find more information about the {{page_url}} helper here.

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.

The cover attribute was replaced with cover_image. Instead of {{@blog.cover}} you need to use {{@blog.cover_image}}.

So, does it mean ghostium is not compatable with ghost v1.5.0? 😔