From a37f56cf3d6391536840c4f9389977e247e6cfc8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 16 Jul 2014 20:49:04 +0200 Subject: Restructured to enable automatic datasources * i.e. first the content source is mapped * after that every transformation in 'template/datasource/' is called using the content map as input ** the output of the datasource transformations is stored in 'datasource/' --- template/datasource/pages.xsl | 52 +++++++++++++++++++++++++++++++++++ template/master.xsl | 64 ------------------------------------------- template/output/master.xsl | 64 +++++++++++++++++++++++++++++++++++++++++++ template/output/page.xsl | 23 ++++++++++++++++ template/page.xsl | 23 ---------------- 5 files changed, 139 insertions(+), 87 deletions(-) create mode 100644 template/datasource/pages.xsl delete mode 100644 template/master.xsl create mode 100644 template/output/master.xsl create mode 100644 template/output/page.xsl delete mode 100644 template/page.xsl (limited to 'template') diff --git a/template/datasource/pages.xsl b/template/datasource/pages.xsl new file mode 100644 index 0000000..7de4b4b --- /dev/null +++ b/template/datasource/pages.xsl @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + /usr/bin/markdown + + + + + + + + + + + + + + diff --git a/template/master.xsl b/template/master.xsl deleted file mode 100644 index e2b77b4..0000000 --- a/template/master.xsl +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - <xsl:call-template name="title-text"/> - - - - - -
-
- -
- -
- - -
-
- - -
- -
- diff --git a/template/output/master.xsl b/template/output/master.xsl new file mode 100644 index 0000000..e2b77b4 --- /dev/null +++ b/template/output/master.xsl @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + <xsl:call-template name="title-text"/> + + + + + +
+
+ +
+ +
+ + +
+
+ + +
+ +
+ diff --git a/template/output/page.xsl b/template/output/page.xsl new file mode 100644 index 0000000..a271e4a --- /dev/null +++ b/template/output/page.xsl @@ -0,0 +1,23 @@ + + + + + + + + @ /home/adrian + + + +
+ +
+
+ +
diff --git a/template/page.xsl b/template/page.xsl deleted file mode 100644 index a271e4a..0000000 --- a/template/page.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - @ /home/adrian - - - -
- -
-
- -
-- cgit v1.2.3