X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Ftemplate.vm;h=d9fc9bb78cdc9270a66bfc6d8f64b5483a06b1fd;hb=e3fe58f61b654026dd945eaadf5a6f876d74308b;hp=29b5cba2ed7676d57bd8d8b7efa936494a92af95;hpb=fcf58a084786e33f9f6fe78ec2f5867b9778593a;p=simple-mapper diff --git a/src/site/template.vm b/src/site/template.vm index 29b5cba..d9fc9bb 100644 --- a/src/site/template.vm +++ b/src/site/template.vm @@ -70,6 +70,7 @@ #set( $siteTitle = $menu.title ) #set( $siteAlt = $menu.alt ) #set( $siteImg = $menu.img ) + #set( $sinkhole = $pages.get("index.html").put("childs", $page.childs) ) #end #end @@ -113,14 +114,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

    @@ -128,16 +137,58 @@


-
+

$shortTitle

$bodyContent

+

Common

+

Pages

-

-

-

+ +

Crumbs

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