<!DOCTYPE html>
<html lang="en">

  {% include head.html %}

  <body id="page-top">

    {% include navbar.html %}

    {{ content }}

    <!-- Core Scripts -->
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/bootstrap/bootstrap.min.js"></script>

    <!-- Plugin Scripts -->
    <script src="assets/js/plugins/jquery.easing.min.js"></script>
    <script src="assets/js/plugins/classie.js"></script>

    {% if page.url == "/index.html" %}
      <script src="assets/js/plugins/cbpAnimatedHeader.js"></script>
    {% endif %}

    <script src="assets/js/plugins/owl-carousel/owl.carousel.js"></script>
    <script src="assets/js/plugins/jquery.magnific-popup/jquery.magnific-popup.min.js"></script>
    <script src="assets/js/plugins/background/core.js"></script>
    <script src="assets/js/plugins/background/transition.js"></script>
    <script src="assets/js/plugins/background/background.js"></script>
    <script src="assets/js/plugins/jquery.mixitup.js"></script>
    <script src="assets/js/plugins/wow/wow.min.js"></script>
    <script src="assets/js/plugins/jqBootstrapValidation.js"></script>

    <!-- Vitality Theme Scripts -->
    <script src="assets/js/vitality.js"></script>
  </body>

</html>

<!DOCTYPE html>
<html lang="en">

  {% include head.html %}

  <body id="page-top">

    {% include navbar.html %}

    {{ content }}

    <!-- Core Scripts -->
    <script src="/assets/js/jquery.js"></script>
    <script src="/assets/js/bootstrap/bootstrap.min.js"></script>

    <!-- Plugin Scripts -->
    <script src="/assets/js/plugins/jquery.easing.min.js"></script>
    <script src="/assets/js/plugins/classie.js"></script>

    {% if page.url == "/index.html" %}
      <script src="/assets/js/plugins/cbpAnimatedHeader.js"></script>
    {% endif %}

    <script src="/assets/js/plugins/owl-carousel/owl.carousel.js"></script>
    <script src="/assets/js/plugins/jquery.magnific-popup/jquery.magnific-popup.min.js"></script>
    <script src="/assets/js/plugins/background/core.js"></script>
    <script src="/assets/js/plugins/background/transition.js"></script>
    <script src="/assets/js/plugins/background/background.js"></script>
    <script src="/assets/js/plugins/jquery.mixitup.js"></script>
    <script src="/assets/js/plugins/wow/wow.min.js"></script>
    <script src="/assets/js/plugins/jqBootstrapValidation.js"></script>

    <!-- Vitality Theme Scripts -->
    <script src="/assets/js/vitality.js"></script>
  </body>

</html>

Make references to the assets folder absolute.
Make references to the assets folder absolute.

With relative links, Pages that are not in the root of the application
would not link to the correct files.
