aboutsummaryrefslogtreecommitdiff
path: root/source/02_meta
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-02-12 15:14:05 +0100
committerAdrian Kummerlaender2017-02-12 15:14:05 +0100
commit62690da3d1c74083f5f190e84582322413de2b1d (patch)
treeb9b39844d6c8957dbc99517593dbaed3bbcf0950 /source/02_meta
parent8440bad90b844eb0ae0d46496d6b9cb3c045111f (diff)
downloadblog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar.gz
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar.bz2
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar.lz
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar.xz
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.tar.zst
blog.kummerlaender.eu-62690da3d1c74083f5f190e84582322413de2b1d.zip
Remove page, category functionality as it is now provided by `tree.kummerlaender.eu`
Diffstat (limited to 'source/02_meta')
-rw-r--r--source/02_meta/categories.xsl41
1 files changed, 0 insertions, 41 deletions
diff --git a/source/02_meta/categories.xsl b/source/02_meta/categories.xsl
deleted file mode 100644
index ea8593b..0000000
--- a/source/02_meta/categories.xsl
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xalan="http://xml.apache.org/xalan"
- xmlns:InputXSLT="function.inputxslt.application"
- exclude-result-prefixes="xalan InputXSLT"
->
-
-<xsl:include href="[utility/datasource.xsl]"/>
-
-<xsl:variable name="meta">
- <datasource type="main" mode="xpath" source="$source_tree/directory[@name = '00_content']/directory" target="files"/>
- <datasource type="support" mode="full" source="01_data/pages.xml" target="pages"/>
- <target mode="plain" value="categories.xml"/>
-</xsl:variable>
-
-<xsl:template match="pages/entry" mode="resolve">
- <page handle="{@handle}">
- <title>
- <xsl:value-of select="title"/>
- </title>
- <digest size="{string-length(content/p[1])}">
- <xsl:copy-of select="content/p[1]/node()"/>
- </digest>
- </page>
-</xsl:template>
-
-<xsl:template match="files/directory[@name = 'pages']/directory">
- <entry handle="{@name}">
- <xsl:apply-templates />
- </entry>
-</xsl:template>
-
-<xsl:template match="files/directory[@name = 'pages']/*/file[@extension = '.md']">
- <xsl:variable name="handle" select="@name"/>
-
- <xsl:apply-templates select="$root/pages/entry[@handle = $handle]" mode="resolve"/>
-</xsl:template>
-
-</xsl:stylesheet>