maven-thymeleaf-skin
8 years agoAdded convenient links to browse and check the generated templates
Kai Moritz [Fri, 8 Jul 2016 09:45:42 +0000 (11:45 +0200)]
Added convenient links to browse and check the generated templates

8 years agoFixed XML-syntax: comments must not cotain "--"
Kai Moritz [Fri, 8 Jul 2016 09:39:12 +0000 (11:39 +0200)]
Fixed XML-syntax: comments must not cotain "--"

8 years agoRelative URI's and breadcrumb-paths can be converted into absolute ones
Kai Moritz [Fri, 8 Jul 2016 09:23:26 +0000 (11:23 +0200)]
Relative URI's and breadcrumb-paths can be converted into absolute ones

Defined custom variables custom.path and custom.crumbs in site.xml, that
can be used to convert the relative URI's and breadcrumb-paths into absolute
ones.

8 years agoRead in extra-info from site.xml
Kai Moritz [Fri, 8 Jul 2016 08:58:01 +0000 (10:58 +0200)]
Read in extra-info from site.xml

The attributes "title", "alt" and "img" for the tags <menu> and <item>
of the site.xml are read in. For <item>-tags, these entries are made
available in the page-definition. For the manually defined menu (the one
without a name!), as top-level variables "site_title", "site_alt" and
"site_img".

8 years agoAdded start-page to the breadcrumb-path
Kai Moritz [Fri, 8 Jul 2016 08:18:09 +0000 (10:18 +0200)]
Added start-page to the breadcrumb-path

8 years agoRendering page-data as JSON
Kai Moritz [Fri, 8 Jul 2016 08:10:23 +0000 (10:10 +0200)]
Rendering page-data as JSON

 * The JSON-data is now generated from the read in page-data.
 * The data is passed to the thymeleaf-dialect "juplo:variables".
 * The old breadcrumb-macro was removed.

8 years agoReworked the processing of the page-data (again)
Kai Moritz [Fri, 8 Jul 2016 07:22:54 +0000 (09:22 +0200)]
Reworked the processing of the page-data (again)

Breadcrumb-paths are generated for all pages.

8 years agoReworked the processing of the page-data
Kai Moritz [Fri, 8 Jul 2016 07:04:46 +0000 (09:04 +0200)]
Reworked the processing of the page-data

Automatically generated pages can be overwriten in the manually defined
menu. Overwriting a URI will result in the changing of the name of the
page. Child-pages be kept in place, if present. If an automatically
generated page is overwriten in the manually defined menu, it will not
be removed form the original menu, but its breadcrumb-data will reflect
the position of the manually defined entry.

Implementation:
The data is read into a map. The unnamed menus will be read in last,
because this are usually the manually defined menus. If an URI is encountered
again, the last read version of the defined page will win and overwrite the
previously read definition, but the defined child-pages will not be touched.

8 years agoIntegrated page-data
Kai Moritz [Fri, 8 Jul 2016 07:02:07 +0000 (09:02 +0200)]
Integrated page-data

8 years agoInitial version (not really functioning)
Kai Moritz [Mon, 13 Jun 2016 12:52:51 +0000 (14:52 +0200)]
Initial version (not really functioning)