Inhalte an die geänderten View-Namen für Thymeleaf-Templates angepasst
[website] / dist / projects / html-experimente / phone.html
index 92e8cfc..d730f02 100644 (file)
@@ -3,18 +3,18 @@
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:layout="http://www.thymeleaf.org"
     xmlns:th="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
+    layout:decorator="/templates/layout.html"
     th:with="title='Layout für Smartphones', uri='/projects/html-experimente/phone.html'"
     >
   <head layout:fragment="head">
     <title>HTML-Experimente - Layout PHONE</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" th:remove="all"/>
-    <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../../css/base.css" th:href="@{/css/base.css}"/>
-    <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../../css/phone.css" th:href="@{/css/phone.css}"/>
+    <link rel="stylesheet/less" th:rel="stylesheet" type="text/css" href="../../css/base.css" th:href="@{/css/base.css}"/>
+    <link rel="stylesheet/less" th:rel="stylesheet" type="text/css" href="../../css/phone.css" th:href="@{/css/phone.css}"/>
     <script src="../../js/less-1.7.0.min.js" th:remove="all"></script>
   </head>
   <body>
-    <aside layout:fragment="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+    <aside layout:fragment="marginalcontent" th:replace="/templates/fragments.html :: marginalcontent">
       MARGINAL-CONTENT
     </aside>
   </body>