diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/00_content/meta.xml | 2 | ||||
-rw-r--r-- | source/99_result/archive.xsl | 2 | ||||
-rw-r--r-- | source/99_result/article/article.xsl | 2 | ||||
-rw-r--r-- | source/99_result/page/page.xsl | 6 | ||||
-rw-r--r-- | source/99_result/stream.xsl | 2 | ||||
-rw-r--r-- | source/99_result/tag/tag.xsl | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/source/00_content/meta.xml b/source/00_content/meta.xml index dba506d..ac81b8d 100644 --- a/source/00_content/meta.xml +++ b/source/00_content/meta.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <meta> <title>/home/adrian</title> - <url>/home/common/projects/dev/static_site_generator/target/99_result</url> + <url>http://localhost:8000</url> </meta> diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl index a920294..476b321 100644 --- a/source/99_result/archive.xsl +++ b/source/99_result/archive.xsl @@ -9,7 +9,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="full" source="target/03_meta/articles.xml" target="articles"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="plain" value="archive"/> + <target mode="plain" value="archive/index.html"/> </xsl:variable> <xsl:template name="title-text">Archive</xsl:template> diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index 0b2cc12..a82dcb1 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.xsl @@ -10,7 +10,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/02_data/articles.xml" target="article"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/article/entry/@handle"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/article/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl index dc8c9f2..fcf217d 100644 --- a/source/99_result/page/page.xsl +++ b/source/99_result/page/page.xsl @@ -7,9 +7,9 @@ <xsl:include href="[utility/master.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="iterate" source="target/02_data/pages.xml" target="page"/> - <datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/page/entry/@handle"/> + <datasource type="main" mode="iterate" source="target/02_data/pages.xml" target="page"/> + <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/page/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 2fa6d4e..4bed923 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -11,7 +11,7 @@ <datasource type="main" mode="iterate" source="target/03_meta/paginated_articles.xml" target="page"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> <datasource type="support" mode="full" source="target/02_data/articles.xml" target="articles"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/page/entry/@index"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/page/entry/@index, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl index 2e4423e..8eb6ca0 100644 --- a/source/99_result/tag/tag.xsl +++ b/source/99_result/tag/tag.xsl @@ -9,7 +9,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/03_meta/tags.xml" target="tag"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/tag/entry/@handle"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/tag/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> |