diff options
Diffstat (limited to 'static/contact.xsl')
| -rw-r--r-- | static/contact.xsl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/static/contact.xsl b/static/contact.xsl index 56624f1..ab9eeea 100644 --- a/static/contact.xsl +++ b/static/contact.xsl @@ -1,15 +1,17 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" /> <xsl:include href="head.xsl" /> + <xsl:param name="title"> + <xsl:text>Contact</xsl:text> + </xsl:param> <xsl:template match="/"> <html> - <head> - <xsl:call-template name="head" /> - <title>Contact</title> - </head> + <xsl:call-template name="head"> + <xsl:with-param name="title" select="$title" /> + </xsl:call-template> <body> - <h1>Contact</h1> + <h1><xsl:value-of select="$title" /></h1> <form id="contact-form" class="pure-form pure-form-stacked"> <label for="name_in"> Name |
