Beispiel aus Thymeleaf-Doku überarbeitet
[website] / dist / templates / fragments.html
index 34ee163..7eec1ba 100644 (file)
@@ -2,11 +2,10 @@
 <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" type="text/css" href="../css/base.css"/>
+    <link rel="stylesheet" type="text/css" href="../css/screen.css" media="screen"/>
+    <link rel="stylesheet" type="text/css" href="../css/print.css" media="print"/>
   </head>
   <body>
     <h1>Explanation fo the german word "Impressum"</h1>