Ergänzung des head-Tag über den Parameter scripts_head ermöglicht
[website] / dist / templates / layout.html
index 975df3c..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)"
             <h2 class="nav menu">Section-Menu</h2>
             <ul id="menu" class="cf">
               <li class="m blog" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
-                <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
+                <a href="../blog" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
               </li>
               <!--/*-->
               <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>