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

Unbranded template in examples does not include updated bodyEnd block #577

Closed
daviddotto opened this issue Aug 14, 2018 · 6 comments
Closed

Comments

@daviddotto
Copy link
Contributor

Scripts do not run on unbranded pages due to bodyEnd block having not been updated to camel case.

{% block body_end %}
  {% include "includes/scripts.html" %}
{% endblock %}

should be

{% block bodyEnd %}
  {% include "includes/scripts.html" %}
{% endblock %}

Also, is there a particular reason the unbranded template is not in the app/views directory by default? There also are no macro imports in this file, might be work keeping it in line with the template.html file.

@36degrees
Copy link
Contributor

Hey David,

Thanks for raising! Would you be willing to raise a pull request to fix the body end block issue?

I'll chat to the team about the other two issues you mention and try and understand the reasoning.

Thanks,

Ollie

@daviddotto
Copy link
Contributor Author

Happy to, I don't have the relevant permissions to push my branch though, perhaps I need added to the team?

@36degrees
Copy link
Contributor

We'd normally expect people to contribute to the Prototype Kit by making the changes on a fork of the repo – GitHub's documentation on this is pretty good at walking you through that.

Let me know if I can help at all.

@daviddotto
Copy link
Contributor Author

daviddotto commented Aug 14, 2018 via email

@daviddotto
Copy link
Contributor Author

#580 added

@daviddotto
Copy link
Contributor Author

Template updated now

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

2 participants