Kanonische Links über _canonical realisiert
[website] / dist / index.html
index c5f1858..9add093 100644 (file)
@@ -1,10 +1,16 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    th:replace="~{templates/layout :: layout(uri='/index.html', contentclass='nomenu')}"
+    th:replace="~{/templates/layout.html :: layout(
+      uri='/index.html',
+      contentclass='nomenu',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}
+      )}"
     >
   <head>
-    <title id="title">Home</title>
+    <title>Home</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="css/base.css"/>
@@ -23,7 +29,7 @@
       <h1 class="nav">Navigation</h1>
       <h2 class="nav menu">Section-Menu</h2>
       <ul id="menu" class="cf">
-        <li class="m blog"><a href="blog.html" th:href="@{/blog.html}" class="m">Blog</a></li>
+        <li class="m blog"><a href="blog/" th:href="@{/blog/}" class="m">Blog</a></li>
         <li class="m projects"><a href="projects.html" th:href="@{/projects.html}" class="m">Projects</a></li>
         <li class="m about"><a href="about.html" th:href="@{/about.html}" class="m">About</a></li>
       </ul>
@@ -58,7 +64,7 @@
           <h2>About juplo</h2>
           <ul>
             <li><a href="/about.html" title="Visit my about-pag">More about juplo</a></li>
-            <li><a href="/blog.html" title="(Hopefully) helpful stuff">Blog</a></li>
+            <li><a href="/blog" title="(Hopefully) helpful stuff">Blog</a></li>
             <li><a href="/projects.html" title="All current projects">Projects</a></li>
             <li><a href="/contact.html" title="All contact-information on a glance">Contact</a></li>
           </ul>