]> juplo.de Git - maven-thymeleaf-skin/commitdiff
Added the entry "_canonical" with mappings from uris to canonical links
authorKai Moritz <kai@juplo.de>
Mon, 7 Mar 2022 21:44:54 +0000 (22:44 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 24 Oct 2025 09:28:21 +0000 (11:28 +0200)
src/main/resources/META-INF/maven/site.vm

index 7aecf983468b50dec223f05b250a133b50848ddd..b4866d19b697e780d6076895e186a16719d32227 100644 (file)
 
     ]#set($sep = ",")#end
 
+  },
+  "_canonical": {#set($sep = "")#foreach($page in $pages)$sep
+    "$sitePath$page.uri": "$canonicalPath$alignedFileName"#set($sep = ",")
+#end
+
   }
 }
     </pre>