Inhalte an die geänderten View-Namen für Thymeleaf-Templates angepasst
[website] / dist / templates / fragments.html
index 34ee163..cdf7c06 100644 (file)
@@ -2,11 +2,11 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.thymeleaf.org">
   <head>
     <title>Fragments</title>
-    <link rel="stylesheet" type="text/css" href="../css/base.min.css"/>
-    <style type="text/css">
-      @import '../css/screen.min.css' screen;
-      @import '../css/print.min.css' print;
-    </style>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <link rel="stylesheet/less" type="text/css" href="../less/base.less"/>
+    <link rel="stylesheet/less" type="text/css" href="../less/screen.less" media="screen"/>
+    <link rel="stylesheet/less" type="text/css" href="../less/print.less" media="print"/>
+    <script src="../js/less-1.7.0.min.js"></script>
   </head>
   <body>
     <h1>Explanation fo the german word "Impressum"</h1>
@@ -27,7 +27,7 @@
       <header><h1 th:text="${title}">PAGE-TITLE</h1></header>
       <div class="wip" th:fragment="wip">
         <img class="w" src="/img/comming-soon.png" alt="Comming soon..."/>
-        <p th:include="templates/layout :: maincontent" th:remove="tag">
+        <p th:include="/templates/layout.html :: maincontent" th:remove="tag">
           PAGE-CONTENT
         </p>
       </div>