From 0e39fa32bc657936001d62ef078f4f132f7f81a3 Mon Sep 17 00:00:00 2001 From: defanor Date: Tue, 1 May 2018 07:20:44 +0300 Subject: Handle prefixes for index links So that notes can be linked from notes/index.xhtml as well. Most of file path manipulation here is rather hacky. --- tools/xml-to-html.xsl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/xml-to-html.xsl b/tools/xml-to-html.xsl index 1b92318..5d88077 100644 --- a/tools/xml-to-html.xsl +++ b/tools/xml-to-html.xsl @@ -97,13 +97,17 @@
+ select="$notes/notes/note[$number=0 or position()<=$number]"> + +
+
- +
-- cgit v1.2.3