Beispiel für das Überschreiben der Menüstruktur mit juplo:variables
authorKai Moritz <kai@juplo.de>
Tue, 28 Feb 2017 19:54:40 +0000 (20:54 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 28 Jun 2017 11:45:37 +0000 (13:45 +0200)
dist/potemkin/accelerator.html [new file with mode: 0644]
dist/projects.html

diff --git a/dist/potemkin/accelerator.html b/dist/potemkin/accelerator.html
new file mode 100644 (file)
index 0000000..2c57edf
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html
+    xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:layout="http://www.thymeleaf.org"
+    layout:decorator="/templates/layout.html"
+    th:with="title='accelerator - Overview', uri='/potemkin/accelerator.html'"
+    >
+  <head>
+    <!--/*-->
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <title>Fix SWF - Overview</title>
+    <link rel="stylesheet/less" type="text/css" href="../../less/base.less"/>
+    <link rel="stylesheet/less" type="text/css" href="../../less/screen.less" media="screen"/>
+    <link rel="stylesheet/less" type="text/css" href="../../less/print.less" media="print"/>
+    <script src="../../js/less-1.7.0.min.js"></script>
+    <!--*/-->
+  </head>
+  <body juplo:variables='merge:{"pages":{
+    "/potemkin.html": {
+      "name": "Projects",
+      "childs": {
+        "#hibernate4-maven-plugin": "Hibernate 4 Maven Plugin",
+        "/potemkin/accelerator.html": "accelerator!",
+        "/potemkin/html-experimente.html": "HTML-Experimente",
+        "/potemkin/fix-swf/overview.html": "Fix SWF",
+        "/potemkin/typo.html": "Typography"
+      },
+      "crumbs": [
+        { "uri": "/potemkin.html", "name": "Projects" }
+      ]
+    },
+    "/potemkin/accelerator.html": {
+      "name": "Overview",
+      "childs": {
+        "/potemkin/accelerator.html": "Overview",
+        "/potemkin/accelerator/read-on.html": "Read on",
+        "/potemkin/accelerator/read-on-and-on.html": "Read on and on",
+        "/potemkin/accelerator/read-on-and-on-and-on.html": "Read on and on and on"
+      },
+      "crumbs": [
+        { "uri": "/potemkin.html", "name": "Projects" },
+        { "uri": "/potemkin/accelerator.html", "name": "accelerator" },
+        { "uri": "/potemkin/accelerator.html", "name": "Overview" }
+      ]
+    },
+    "/potemkin/accelerator/read-on.html": { "name": "Read on" },
+    "/potemkin/accelerator/read-on-and-on.html": { "name": "Read on and on" },
+    "/potemkin/accelerator/read-on-and-on-and-on.html": { "name": "Read on and on and on" }
+}}'>
+    <h1>Overview - DUMMY</h1>
+  </body>
+</html>
index 1831879..06accc1 100644 (file)
     <script src="js/less-1.7.0.min.js"></script>
     <!--*/-->
   </head>
-  <body>
+  <body juplo:variables='merge:{"pages":{
+    "/projects.html": {
+      "name": "Projects",
+      "childs": {
+        "#hibernate4-maven-plugin": "Hibernate 4 Maven Plugin",
+        "/projects/accelerator.html": "accelerator!",
+        "/projects/html-experimente.html": "HTML-Experimente",
+        "/projects/fix-swf/overview.html": "Fix SWF",
+        "/projects/typo.html": "Typography"
+      },
+      "crumbs": [
+        { "uri": "/projects.html", "name": "Projects" }
+      ]
+    },
+    "/projects/accelerator.html": {
+      "name": "Overview",
+      "childs": {}
+    }
+    }}'>
     <main class="main" layout:fragment="maincontent">
       <div class="pack bg cf">
         <div class="p left">