projects
/
maven-thymeleaf-skin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Released version 1.1.0
[maven-thymeleaf-skin]
/
src
/
main
/
resources
/
META-INF
/
maven
/
site.vm
diff --git
a/src/main/resources/META-INF/maven/site.vm
b/src/main/resources/META-INF/maven/site.vm
index
7f1a87a
..
7aecf98
100644
(file)
--- a/
src/main/resources/META-INF/maven/site.vm
+++ b/
src/main/resources/META-INF/maven/site.vm
@@
-118,12
+118,22
@@
#end
## Custom Variablen einlesen
#end
## Custom Variablen einlesen
+#set ( $pathPrefix = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'prefix' ).getValue() )
+#if ( !$pathPrefix )
+ #set ( $pathPrefix = "" )
+#end
#set ( $canonicalPath = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'path' ).getValue() )
#if ( !$canonicalPath )
#set ( $canonicalPath = "" )
#set ( $canonicalPath = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'path' ).getValue() )
#if ( !$canonicalPath )
#set ( $canonicalPath = "" )
+ <!-- WARNING: configuration parameter "path" is not set -->
#end
#end
-#set ( $sitePath = $canonicalPath + $project.version + "/" )
+#set ( $sitePath = $
pathPrefix + $
canonicalPath + $project.version + "/" )
#set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() )
#set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() )
+#set ( $command = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'command' ).getValue() )
+#if ( !$command )
+ #set ( $command = "" )
+ <!-- WARNING: configuration parameter "command" is not set -->
+#end
<!-- name: $pages.get($alignedFileName).name -->
<!-- title: $title -->
<!-- name: $pages.get($alignedFileName).name -->
<!-- title: $title -->
@@
-135,13
+145,7
@@
<!--*/-->
<!--*/-->
-<html
- xmlns="http://www.w3.org/1999/xhtml"
- th:replace="~{/templates/layout.html :: layout(
- uri='$sitePath$alignedFileName',
- title=~{:: title},
- maincontent=~{:: .maincontent},
- json='MERGE:' + ~{:: pre[class='json']/text()})}" >
+<html xmlns="http://www.w3.org/1999/xhtml" $command>
<head>
<title class="title">$title</title>
<meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
<head>
<title class="title">$title</title>
<meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
@@
-149,6
+153,12
@@
</head>
<body>
<h1 class="short_title">$shortTitle</h1>
</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>
<h2>Path</h2>
<p>
<ol>