Added the variants of the page-uri as selectable content
[maven-thymeleaf-skin] / src / main / resources / META-INF / maven / site.vm
index b81690c..3e84b93 100644 (file)
       maincontent=~{:: .maincontent},
       json='MERGE:' + ~{:: pre[class='json']/text()})}" >
   <head>
-    <title id="title">#if($shortTitle and $shortTitle != '')$title#else$project.name &mdash; $pages.get($alignedFileName).name#end</title>
+    <title class="title">$title</title>
     <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
     <link id="canonical" rel="canonical" href="$canonicalPath$alignedFileName"/>
   </head>
   <body>
+    <h1 class="short_title">$shortTitle</h1>
+    <h2>URI</h2>
+    <ul>
+      <li><strong>site:</strong> <code class="site_uri">$sitePath$alignedFileName</code></li>
+      <li><strong>canonical:</strong> <code class="canonical_uri">$canonicalPath$alignedFileName</code></li>
+      <li><strong>relative:</strong> <code class="relative_uri">$alignedFileName</code></li>
+    </ul>
     <h2>Path</h2>
     <p>
       <ol>