Moved script to footer as it is recommended to be in the body not the head

This commit is contained in:
Connor Yoh 2025-04-08 16:41:55 +01:00
parent 3cd943f565
commit 260272fa43
2 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,6 @@
<link rel="preload" th:href="@{'/fonts/google-symbol.woff2'}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="stylesheet" th:href="@{'/css/cookieconsent.css'}">
<link rel="stylesheet" th:href="@{'/css/cookieconsentCustomisation.css'}">
<script type="module" th:src="@{'/js/thirdParty/cookieconsent-config.js'}"></script>
<script th:src="@{'/js/thirdParty/fontfaceobserver.standalone.js'}"></script>
<!-- Google MD Icons -->

View File

@ -1,4 +1,6 @@
<footer th:fragment="footer" id="footer" class="text-center pt-5">
<script type="module" th:src="@{'/js/thirdParty/cookieconsent-config.js'}"></script>
<div class="footer-center pb-4">
<!-- Links section -->
<div class="d-flex justify-content-center">