Add end_of_page hook for extra Javascript

This commit is contained in:
David A. Harding 2015-08-18 10:50:06 -04:00
parent d0506fb227
commit 0aad50c5f3
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
7 changed files with 35 additions and 29 deletions

View file

@ -7,3 +7,11 @@ http://opensource.org/licenses/MIT.
fallbackSVG();
addAnchorLinks();
</script>
{% comment %}
<!-- A hook to allow pages to add JS at the very end of
the page so it runs after all content and CSS has loaded -->
{% endcomment %}
{% if page.end_of_page %}
{{page.end_of_page}}
{% endif %}