Header und Footer editierbar gemacht
[website] / src / main / webapp / WEB-INF / templates / html5page.jsp
index 3169c65..e15516e 100644 (file)
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <t:insertAttribute name="htmlhead"/>
   </head>
-  <body onload="prettyPrint()">
-    <div id="page" class="<t:getAsString name="contentclass"/> cf">
+  <body class="<t:getAsString name="contentclass"/>" onload="prettyPrint()">
+    <a id="top"></a>
+    <div id="page" class="cf">
       <header id="header">
-        <h1 id="logo"><a href="${base}index.html" title="Home" class="l">juplo</a></h1>
+        <t:insertAttribute name="header"/>
         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
         <hr class="h" />
       </header>
@@ -35,6 +36,7 @@
           <nav id="nav">
             <hr class="n"/>
             <a id="navigation"></a>
+            <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
             <t:insertAttribute name="navigation"/>
             <hr class="n"/>
           </nav>
@@ -44,9 +46,7 @@
       <footer id="footer">
         <hr class="f" />
         <ul id="footerlinks">
-          <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
-          <li class="f"><a class="f" href="${base}contact.html">Contact</a></li>
-          <li class="f"><a class="f" href="${base}impressum.html">Impressum</a></li>
+          <t:insertAttribute name="footer"/>
         </ul>
       </footer>
     </div>