{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

<script type="text/javascript">
  fallbackSVG();
  addAnchorLinks();
  trackOutgoingLinks();
  toggleDarkMode();
</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 %}
{% comment %}
<!-- Same as above, but also allows to use end_of_page in
layout pages -->
{% endcomment %}
{% if layout.end_of_page %}
  {{layout.end_of_page}}
{% endif %}
