Beispiel aus der Thymeleaf-Doku
[website] / dist / index.html
1 <!DOCTYPE html>
2 <html
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:layout="http://www.thymeleaf.org"
5     layout:decorator="templates/layout"
6     th:with="contentclass='nomenu', uri='/index.html'"
7     >
8   <head>
9     <title>Home</title>
10     <!--/*-->
11     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
12     <link rel="stylesheet" type="text/css" href="css/base.css"/>
13     <link rel="stylesheet" type="text/css" href="css/screen.css" media="screen"/>
14     <link rel="stylesheet" type="text/css" href="css/print.css" media="print"/>
15     <!--*/-->
16   </head>
17   <body>
18     <ol layout:fragment="breadcrumb">
19       <li class="b"><strong class="b">Home</strong></li>
20     </ol>
21     <h1 layout:fragment="header"><strong class="l"><img class="l" src="/img/logo.svg" alt="juplo"/></strong></h1>
22     <nav layout:fragment="navigation">
23       <hr class="n"/>
24       <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
25       <h1 class="nav">Navigation</h1>
26       <h2 class="nav menu">Section-Menu</h2>
27       <ul id="menu" class="cf">
28         <li class="m blog"><a href="blog.html" th:href="@{/blog.html}" class="m">Blog</a></li>
29         <li class="m projects"><a href="potemkin.html" th:href="@{/potemkin.html}" class="m">Projects</a></li>
30         <li class="m about"><a href="about.html" th:href="@{/about.html}" class="m">About</a></li>
31       </ul>
32     </nav>
33     <main class="main" layout:fragment="maincontent">
34       <div class="pack bg cf">
35         <div class="p right">
36           <h2>Work In Progress&#8230;</h2>
37           <p>This page is under heavy construction.</p>
38           <p style="text-align: center"><img src="/img/wip.gif" alt="Man bashing his head on a computer-keyboard"/></p>
39           <p>So, please be patiance with us&#8230;</p>
40         </div>
41         <div class="p left">
42           <h2>About juplo</h2>
43           <ul>
44             <li><a href="/about.html" title="Visit my about-pag">More about juplo</a></li>
45             <li><a href="/blog.html" title="(Hopefully) helpful stuff">Blog</a></li>
46             <li><a href="/projects.html" title="All current projects">Projects</a></li>
47             <li><a href="/contact.html" title="All contact-information on a glance">Contact</a></li>
48           </ul>
49         </div>
50       </div>
51       <div class="single">
52         <h1>Hibernate Maven Plugin</h1>
53         <p><strong>A simple Plugin for generating a Database-Schema from Hibernate Mappings</strong></p>
54         <p>hibernate-maven-plugin is a plugin for generating a database-schema from your Hibernate mappings and create or update your database accordingly. Its main usage is to automatically create and populate a test-database for unit-tests in cooperation with the dbunit-maven-plugin.</p>
55         <p><a href="/hibernate-maven-plugin/index.html" title="Visit the plugin-documentation">Learn more...</a></p>
56       </div>
57     </main>
58     <aside class="main" layout:fragment="marginalcontent">
59       <div class="widget widget_recent_entries">
60         <h2 class="widgettitle">Recent Posts</h2>
61         <ul>
62           <li><a href="http://juplo.de/show-spring-boot-auto-configuration-report-when-running-via-mvn-spring-boot-run/">Show Spring-Boot Auto-Configuration-Report When Running Via &#8220;mvn spring-boot:run&#8221;</a></li>
63           <li><a href="http://juplo.de/parsing-json-from-facebooks-graph-api-using-jackson-2-x-and-javas-new-time-api/">Parsing JSON From Facebooks Graph-API Using Jackson 2.x And Java&#8217;s New Time-API</a></li>
64           <li><a href="http://juplo.de/problems-deploying-a-spring-boot-app-as-war/">Problems Deploying A Spring-Boot-App As WAR</a></li>
65           <li><a href="http://juplo.de/hibernate-maven-plugin-2-0-0-released/">hibernate-maven-plugin 2.0.0 released!</a></li>
66           <li><a href="http://juplo.de/release-of-a-maven-plugin-to-maven-central-fails-with-error-unknown-tag-goal/">Release Of A Maven-Plugin to Maven Central Fails With &#8220;error: unknown tag: goal&#8221;</a></li>
67         </ul>
68       </div>
69     </aside>
70   </body>
71 </html>