From 8dc8570439db6d929aed1d485a7d77f8b7c0831d Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 9 Sep 2007 12:01:07 +0000 Subject: almost works! git-svn-id: svn://luxion/repos/WebCoso/trunk@287 fcb26f47-9200-0410-b104-b98ab5b095f3 --- t/test-site/common/document-listing.tt | 2 +- t/test-site/src/bar/document.en.rest.tt | 2 +- t/test-site/src/bar/document.it.rest.tt | 2 +- t/test-site/src/document.en.rest.txt | 2 +- t/test-site/src/document.it.rest.txt | 2 +- t/test-site/src/du2html.xsl | 1 + t/test-site/tags/du2html.xsl | 1 + t/test-site/tags/one/du2html.xsl | 1 + t/test-site/tags/three/bis/document.en.rest.tt | 6 +++--- t/test-site/tags/three/bis/document.it.rest.tt | 6 +++--- t/test-site/tags/three/bis/du2html.xsl | 1 + t/test-site/tags/three/document.en.rest.tt | 6 +++--- t/test-site/tags/three/document.it.rest.tt | 6 +++--- t/test-site/tags/three/du2html.xsl | 1 + t/test-site/tags/two/du2html.xsl | 1 + 15 files changed, 23 insertions(+), 17 deletions(-) create mode 120000 t/test-site/src/du2html.xsl create mode 120000 t/test-site/tags/du2html.xsl create mode 120000 t/test-site/tags/one/du2html.xsl create mode 120000 t/test-site/tags/three/bis/du2html.xsl create mode 120000 t/test-site/tags/three/du2html.xsl create mode 120000 t/test-site/tags/two/du2html.xsl (limited to 't') diff --git a/t/test-site/common/document-listing.tt b/t/test-site/common/document-listing.tt index 5210458..ec3adbb 100644 --- a/t/test-site/common/document-listing.tt +++ b/t/test-site/common/document-listing.tt @@ -1,3 +1,3 @@ -[% FOR doc IN tagged.$current_cat %] +[% FOR doc IN tagged.$path %] * `<[% doc %]>`_ [% END %] diff --git a/t/test-site/src/bar/document.en.rest.tt b/t/test-site/src/bar/document.en.rest.tt index 0d1e3f2..b9fa835 100644 --- a/t/test-site/src/bar/document.en.rest.tt +++ b/t/test-site/src/bar/document.en.rest.tt @@ -2,4 +2,4 @@ bar (from template) ===================== -[% PROCESS list %] +[% PROCESS list.tt %] diff --git a/t/test-site/src/bar/document.it.rest.tt b/t/test-site/src/bar/document.it.rest.tt index d6f5509..a379637 100644 --- a/t/test-site/src/bar/document.it.rest.tt +++ b/t/test-site/src/bar/document.it.rest.tt @@ -2,4 +2,4 @@ bar (generato) ================ -[% PROCESS list %] +[% PROCESS list.tt %] diff --git a/t/test-site/src/document.en.rest.txt b/t/test-site/src/document.en.rest.txt index 15045d2..b7449d0 100644 --- a/t/test-site/src/document.en.rest.txt +++ b/t/test-site/src/document.en.rest.txt @@ -6,4 +6,4 @@ * `bar! `_ * `baz`_ -.. _`baz`: baz/ +.. _`baz`: bar/baz/ diff --git a/t/test-site/src/document.it.rest.txt b/t/test-site/src/document.it.rest.txt index f29a12b..ebecda8 100644 --- a/t/test-site/src/document.it.rest.txt +++ b/t/test-site/src/document.it.rest.txt @@ -6,4 +6,4 @@ * `bar! `_ * `baz`_ -.. _`baz`: baz/ +.. _`baz`: bar/baz/ diff --git a/t/test-site/src/du2html.xsl b/t/test-site/src/du2html.xsl new file mode 120000 index 0000000..bea6032 --- /dev/null +++ b/t/test-site/src/du2html.xsl @@ -0,0 +1 @@ +../common/du2html.xsl \ No newline at end of file diff --git a/t/test-site/tags/du2html.xsl b/t/test-site/tags/du2html.xsl new file mode 120000 index 0000000..6737f0e --- /dev/null +++ b/t/test-site/tags/du2html.xsl @@ -0,0 +1 @@ +../../common/du2html.xsl \ No newline at end of file diff --git a/t/test-site/tags/one/du2html.xsl b/t/test-site/tags/one/du2html.xsl new file mode 120000 index 0000000..6737f0e --- /dev/null +++ b/t/test-site/tags/one/du2html.xsl @@ -0,0 +1 @@ +../../common/du2html.xsl \ No newline at end of file diff --git a/t/test-site/tags/three/bis/document.en.rest.tt b/t/test-site/tags/three/bis/document.en.rest.tt index 18b7ac0..3b5629c 100644 --- a/t/test-site/tags/three/bis/document.en.rest.tt +++ b/t/test-site/tags/three/bis/document.en.rest.tt @@ -1,5 +1,5 @@ -================ +====================== Category 'three/bis' -================ +====================== -[% PROCESS document-listing %] +[% PROCESS 'document-listing.tt' %] diff --git a/t/test-site/tags/three/bis/document.it.rest.tt b/t/test-site/tags/three/bis/document.it.rest.tt index 0f1414d..330b121 100644 --- a/t/test-site/tags/three/bis/document.it.rest.tt +++ b/t/test-site/tags/three/bis/document.it.rest.tt @@ -1,5 +1,5 @@ -================= +======================= Categoria 'three/bis' -================= +======================= -[% PROCESS document-listing %] +[% PROCESS 'document-listing.tt' %] diff --git a/t/test-site/tags/three/bis/du2html.xsl b/t/test-site/tags/three/bis/du2html.xsl new file mode 120000 index 0000000..b6e8ebc --- /dev/null +++ b/t/test-site/tags/three/bis/du2html.xsl @@ -0,0 +1 @@ +../../../common/du2html.xsl \ No newline at end of file diff --git a/t/test-site/tags/three/document.en.rest.tt b/t/test-site/tags/three/document.en.rest.tt index 3848f3c..ac13056 100644 --- a/t/test-site/tags/three/document.en.rest.tt +++ b/t/test-site/tags/three/document.en.rest.tt @@ -1,5 +1,5 @@ -================ +================== Category 'three' -================ +================== -[% PROCESS document-listing %] +[% PROCESS 'document-listing.tt' %] diff --git a/t/test-site/tags/three/document.it.rest.tt b/t/test-site/tags/three/document.it.rest.tt index 0c1a4a4..bcd13ef 100644 --- a/t/test-site/tags/three/document.it.rest.tt +++ b/t/test-site/tags/three/document.it.rest.tt @@ -1,5 +1,5 @@ -================= +=================== Categoria 'three' -================= +=================== -[% PROCESS document-listing %] +[% PROCESS 'document-listing.tt' %] diff --git a/t/test-site/tags/three/du2html.xsl b/t/test-site/tags/three/du2html.xsl new file mode 120000 index 0000000..6737f0e --- /dev/null +++ b/t/test-site/tags/three/du2html.xsl @@ -0,0 +1 @@ +../../common/du2html.xsl \ No newline at end of file diff --git a/t/test-site/tags/two/du2html.xsl b/t/test-site/tags/two/du2html.xsl new file mode 120000 index 0000000..6737f0e --- /dev/null +++ b/t/test-site/tags/two/du2html.xsl @@ -0,0 +1 @@ +../../common/du2html.xsl \ No newline at end of file -- cgit v1.2.3