Templates für Fehler-Seiten an die richtige Stelle verschoben
authorKai Moritz <kai@juplo.de>
Sat, 27 Feb 2021 21:03:04 +0000 (22:03 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 27 Feb 2021 21:03:04 +0000 (22:03 +0100)
dist/error/404.html [new file with mode: 0644]
dist/error/error.html [new file with mode: 0644]
dist/templates/404.html [deleted file]
dist/templates/error.html [deleted file]

diff --git a/dist/error/404.html b/dist/error/404.html
new file mode 100644 (file)
index 0000000..5f977e9
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html
+    xmlns="http://www.w3.org/1999/xhtml"
+    th:replace="~{/templates/layout.html :: layout(
+      uri='/templates/404.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"
+    >
+  <head>
+    <title id="title">404: Page Not Found!</title>
+    <!--/*-->
+    <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>
+    <ol id="crumbs">
+      <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
+      <li class="b"><strong class="b">404: Page Not Found!</strong></li>
+    </ol>
+    <nav id="navigation">
+      <hr class="n"/>
+      <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+      <h1 class="nav">Navigation</h1>
+      <h2 class="nav menu">Section-Menu</h2>
+      <ul id="menu" class="cf">
+        <li class="m blog"><a href="../blog/" th:href="@{/blog/}" class="m">Blog</a></li>
+        <li class="m projects"><a href="../projects" 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>
+    </nav>
+    <article class="maincontent">
+      <header><h1>404: Page Not Found!</h1></header>
+      <p>We do not know, where you are.</p>
+      <p>And we do not know, why you are here.</p>
+      <p>But we can tell you: WE ARE SORRY!</p>
+      <p>Really.</p>
+    </article>
+  </body>
+</html>
diff --git a/dist/error/error.html b/dist/error/error.html
new file mode 100644 (file)
index 0000000..cdf9c3c
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html
+    xmlns="http://www.w3.org/1999/xhtml"
+    th:replace="~{/templates/layout.html :: layout(
+      uri='/templates/error.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"
+    >
+  <head>
+    <title id="title">An Unexpected Error Occured!</title>
+    <!--/*-->
+    <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>
+    <ol id="crumbs">
+      <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
+      <li class="b"><strong class="b">An Unexpected Error Occured!</strong></li>
+    </ol>
+    <nav id="navigation">
+      <hr class="n"/>
+      <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+      <h1 class="nav">Navigation</h1>
+      <h2 class="nav menu">Section-Menu</h2>
+      <ul id="menu" class="cf">
+        <li class="m blog"><a href="../blog/" th:href="@{/blog/}" class="m">Blog</a></li>
+        <li class="m projects"><a href="../projects" 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>
+    </nav>
+    <article class="maincontent">
+      <header><h1>An Unexpected Error Occured!</h1></header>
+      <p>We do not know, what happend.</p>
+      <p>But we can tell you: WE ARE SORRY!</p>
+      <p>Really.</p>
+    </article>
+  </body>
+</html>
diff --git a/dist/templates/404.html b/dist/templates/404.html
deleted file mode 100644 (file)
index 5f977e9..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html
-    xmlns="http://www.w3.org/1999/xhtml"
-    th:replace="~{/templates/layout.html :: layout(
-      uri='/templates/404.html',
-      title=~{:: title},
-      maincontent=~{:: .maincontent},
-      marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"
-    >
-  <head>
-    <title id="title">404: Page Not Found!</title>
-    <!--/*-->
-    <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>
-    <ol id="crumbs">
-      <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
-      <li class="b"><strong class="b">404: Page Not Found!</strong></li>
-    </ol>
-    <nav id="navigation">
-      <hr class="n"/>
-      <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
-      <h1 class="nav">Navigation</h1>
-      <h2 class="nav menu">Section-Menu</h2>
-      <ul id="menu" class="cf">
-        <li class="m blog"><a href="../blog/" th:href="@{/blog/}" class="m">Blog</a></li>
-        <li class="m projects"><a href="../projects" 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>
-    </nav>
-    <article class="maincontent">
-      <header><h1>404: Page Not Found!</h1></header>
-      <p>We do not know, where you are.</p>
-      <p>And we do not know, why you are here.</p>
-      <p>But we can tell you: WE ARE SORRY!</p>
-      <p>Really.</p>
-    </article>
-  </body>
-</html>
diff --git a/dist/templates/error.html b/dist/templates/error.html
deleted file mode 100644 (file)
index cdf9c3c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html
-    xmlns="http://www.w3.org/1999/xhtml"
-    th:replace="~{/templates/layout.html :: layout(
-      uri='/templates/error.html',
-      title=~{:: title},
-      maincontent=~{:: .maincontent},
-      marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"
-    >
-  <head>
-    <title id="title">An Unexpected Error Occured!</title>
-    <!--/*-->
-    <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>
-    <ol id="crumbs">
-      <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
-      <li class="b"><strong class="b">An Unexpected Error Occured!</strong></li>
-    </ol>
-    <nav id="navigation">
-      <hr class="n"/>
-      <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
-      <h1 class="nav">Navigation</h1>
-      <h2 class="nav menu">Section-Menu</h2>
-      <ul id="menu" class="cf">
-        <li class="m blog"><a href="../blog/" th:href="@{/blog/}" class="m">Blog</a></li>
-        <li class="m projects"><a href="../projects" 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>
-    </nav>
-    <article class="maincontent">
-      <header><h1>An Unexpected Error Occured!</h1></header>
-      <p>We do not know, what happend.</p>
-      <p>But we can tell you: WE ARE SORRY!</p>
-      <p>Really.</p>
-    </article>
-  </body>
-</html>