Ergänzung des head-Tag über den Parameter scripts_head ermöglicht
authorKai Moritz <kai@juplo.de>
Sat, 11 May 2019 10:13:44 +0000 (12:13 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 11 May 2019 10:13:44 +0000 (12:13 +0200)
dist/templates/layout.html

index b95cf48..0b8c457 100644 (file)
@@ -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)"