X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Ftemplate.vm;h=2588a099393f0e6722ca59a3179b95d0ac73f580;hb=93cb4275f384a2e341fc31bd4e674a8d6ae3043d;hp=a507db2d0641317f858ae9e9d76a236d5a0c4c8a;hpb=469ff18c793c9019b6abb0510f15e53a0062ce99;p=simple-mapper diff --git a/src/site/template.vm b/src/site/template.vm index a507db2..2588a09 100644 --- a/src/site/template.vm +++ b/src/site/template.vm @@ -101,6 +101,7 @@ #set ( $sitePath = "" ) #end #set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() ) +#set ( $parent = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'parent' ).getValue() ) @@ -114,14 +115,22 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.thymeleaf.org" layout:decorator="templates/layout" - th:with="uri='$sitePath$alignedFileName'" + th:with="title='$title', uri='$sitePath$alignedFileName'" > juplo - $title - + + + + + + + - +

Path

    @@ -129,16 +138,59 @@


-
+

$shortTitle

$bodyContent

+

Common

+

Pages

-

-

-

+ +

Crumbs

+
    + #foreach($crumb in $page.crumbs) +
  1. $crumb.name
  2. + #end +