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

Is Ghostwriter ready for 0.8.0? #93

Closed
gllmhyt opened this issue Apr 29, 2016 · 0 comments
Closed

Is Ghostwriter ready for 0.8.0? #93

gllmhyt opened this issue Apr 29, 2016 · 0 comments

Comments

@gllmhyt
Copy link
Contributor

gllmhyt commented Apr 29, 2016

See: Hannah Wolfe, Get your theme ready for 0.8.0, Ghost Dev:,28th of April 2016.

TLDR; The three breaking changes in 0.8.0

  1. All partial files MUST use the .hbs file extension.
  2. Handlebars helpers provided to HTML attributes MUST be quoted, e.g. <div class="{{post_class}}">
  3. ../ in handlebars now behaves naturally and doesn't require multiples when using nested if statements.

The first two changes lock down behaviour that is considered bad practice and are easy to spot. The change to ../ probably only affects you if you've had to unexpectedly use multiples (e.g. {{../../pagination.total}}) to retrieve a value in your theme.

@gllmhyt gllmhyt closed this as completed Jul 14, 2017
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