]> juplo.de Git - maven-thymeleaf-skin/commitdiff
Reworked metadata for generated pages maven-thymeleaf-skin
authorKai Moritz <kai@juplo.de>
Fri, 31 Oct 2025 11:51:31 +0000 (12:51 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 17 Jun 2026 20:13:37 +0000 (22:13 +0200)
src/main/resources/META-INF/maven/site.vm

index 366dcfd74fc79e446935dac58d86d40dcd73a0d3..f14c870eddd997f9d662f03c3f7851391146cb76 100644 (file)
@@ -87,7 +87,7 @@
 
     #end
   #else
-    <!-- Skipping already seen entry: uri=$currentItemHref, name=$menu.name -->
+    <!-- SKIPPING already seen PAGE: uri=$currentItemHref, name=$menu.name (SHOULD ONLY SKIP index.html=About) -->
   #end
 #end
 
   <!-- WARNING: configuration parameter "command" is not set -->
 #end
 
-<!-- name: $pages.get($alignedFileName).name -->
-<!-- title: $title -->
-<!-- short title: $shortTitle -->
-<!-- current page: $alignedFileName -->
-<!-- path: $sitePath -->
-<!-- crumbs: $siteCrumbs -->
-<!-- pages: $pages -->
-
-
 <!--*/-->
 <html xmlns="http://www.w3.org/1999/xhtml" $command>
   <head>
     <link id="canonical" rel="canonical" href="$canonicalPath$alignedFileName"/>
   </head>
   <body>
-    <h1 class="short_title">$shortTitle</h1>
+    <h1 class="short_title">$name</h1>
     <h2>URI</h2>
     <ul>
+      <li><strong>name</strong> <code class="name">$pages.get($alignedFileName).name</code></li>
+      <li><strong>title</strong> <code class="title">$title</code></li>
       <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>
+      <li><strong>path</strong> <code class="path">$sitePath</code></li>
     </ul>
-    <h2>Path</h2>
+    <h2>Crumbs for <code>$pages.get($alignedFileName).name</code></h2>
     <p>
       <ol>
-        #foreach($crumb in $pages.get($alignedFileName).crumbs)<li><a href="$crumb.uri">$crumb.name</a></li>#end
+        #foreach($crumb in $pages.get($alignedFileName).crumbs)<li><a href="$crumb.uri">$crumb.name</a> - uri: <code>$crumb.uri</code></li>#end
       </ol>
     </p>
     <hr />