From 9557c4ca3c1d8944672a281ef0de6f8daef132b9 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Sat, 5 Jul 2025 15:58:46 -0400 Subject: use page template for index --- static/contact.xsl | 19 +++++++++---------- static/index.html | 41 ----------------------------------------- static/index.xml | 4 ++++ static/index.xsl | 16 ++++++++++++++++ static/templates.xsl | 37 ++++++++++++++++++++++++++++++++++--- 5 files changed, 63 insertions(+), 54 deletions(-) delete mode 100644 static/index.html create mode 100644 static/index.xml create mode 100644 static/index.xsl diff --git a/static/contact.xsl b/static/contact.xsl index 505d534..aa814d0 100644 --- a/static/contact.xsl +++ b/static/contact.xsl @@ -8,19 +8,18 @@ Contact + + you@ema.il + +Hey I think I might build an idol and start worshiping you. Which of the following materials would please you? Gold, Silver,... + +
- -
diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 289545e..0000000 --- a/static/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - Alexander F. Kavon - - - - - - - - - diff --git a/static/index.xml b/static/index.xml new file mode 100644 index 0000000..f05b31c --- /dev/null +++ b/static/index.xml @@ -0,0 +1,4 @@ + + + + diff --git a/static/index.xsl b/static/index.xsl new file mode 100644 index 0000000..d457e11 --- /dev/null +++ b/static/index.xsl @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/static/templates.xsl b/static/templates.xsl index 204485a..9f022ad 100644 --- a/static/templates.xsl +++ b/static/templates.xsl @@ -1,13 +1,24 @@ + + + + + + + + - <xsl:value-of select="$title" /> + <xsl:if test="normalize-space($title)"> + <xsl:value-of select="$title" /> |<xsl:text> </xsl:text> + </xsl:if> + Alexander F. Kavon + + + + @@ -25,8 +52,12 @@ -

-
+ + + +

+
+
-- cgit v1.2.3