Ergänzung des head-Tag über den Parameter scripts_head ermöglicht
[website] / dist / templates / layout.html
index cd050be..0b8c457 100644 (file)
@@ -2,7 +2,7 @@
 <html
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:th="http://www.thymeleaf.org"
-    th:fragment="layout(uri,maincontent,marginalcontent)"
+    th:fragment="layout(uri,maincontent)"
     thymeproxy:variables="SET:sitemap.json"
     >
   <head>
@@ -34,7 +34,7 @@
     <!--[if IE 8]>
       <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../css/ie8.css" th:href="@{/css/ie8.min.css}"/>
     <![endif]-->
-    <link rel="caononical" href="layout.html" th:replace="~{:: #canonical}?:~{}"/>
+    <link rel="caononical" href="layout.html" th:replace="${scripts_head}?:~{}"/>
   </head>
   <body
       th:fragment="body(uri, maincontent, marginalcontent)"