diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2025-07-05 15:58:46 -0400 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2025-07-05 15:58:46 -0400 |
| commit | 9557c4ca3c1d8944672a281ef0de6f8daef132b9 (patch) | |
| tree | 0e9591fd7cb18c3f9ee2998573976d3741916cab /static/index.xsl | |
| parent | a9608134cf2402fb0e6d9405e96db9dc92ed4849 (diff) | |
use page template for index
Diffstat (limited to 'static/index.xsl')
| -rw-r--r-- | static/index.xsl | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="html" indent="yes" /> + <xsl:include href="templates.xsl" /> + + <xsl:param name="content"> + <div class="nav-hover-head"> + <img alt="smiling" src="/images/smiling-head.png" /> + </div> + </xsl:param> + + <xsl:template match="/"> + <xsl:call-template name="page"> + <xsl:with-param name="content" select="$content" /> + </xsl:call-template> + </xsl:template> +</xsl:stylesheet> |
