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

🔥 Remove handlebars from serving admin #8184

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

ErisDS
Copy link
Member

@ErisDS ErisDS commented Mar 18, 2017

This requires TryGhost/Admin#593

refs #8140

  • now that the admin index page is just html, we don't need handlebars anymore
  • as we can use res.sendFile to send the static HTML file, don't need to "render" it anymore
  • remove the view engine, hbs and the use of helpers - it's all unneeded
  • change the filenames to .html to reflect this

refs TryGhost#8140
refs TryGhost/Admin#593

- now that the admin index page is just html, we don't need handlebars anymore
- as we can use res.sendFile to send the static HTML file, don't need to "render" it anymore
- remove the view engine, hbs and the use of helpers - it's all unneeded
- change the filenames to .html to reflect this
@kevinansfield kevinansfield merged commit d294177 into TryGhost:master Mar 20, 2017
kevinansfield pushed a commit to TryGhost/Admin that referenced this pull request Mar 20, 2017
refs TryGhost/Ghost#8140
refs TryGhost/Ghost#8184

- now that the admin index page is just html, we don't need handlebars anymore
- this changes the template be called .html to reflect this
@ErisDS ErisDS deleted the remove-admin-hbs branch April 17, 2017 20:07
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.

2 participants