entry.xsl (1351B)
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:space="preserve">
- <xsl:import href="templates/en/nav.xsl" />
- <xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
- <xsl:template match="/entry"><xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text>
- <html xml:lang="en" lang="en">
- <head>
- <xi:include href="templates/head.xml" parse="xml" xpointer="xpointer(/xml/*)"/>
- <xsl:if test="title"><title><xsl:value-of select="title"/> - lanodan's cyber-home</title></xsl:if>
- </head>
- <body>
- <xsl:call-template name="nav"/>
- <article>
- <xsl:copy-of select="content/*"/>
- <p>
- <xsl:if test="link[@type='application/activity+json']"><a href="{link[@type='application/activity+json']/@href}" rel="replies external">Fediverse post for comments</a>, </xsl:if><xsl:apply-templates select="published"/><xsl:apply-templates select="updated"/>
- </p>
- </article>
- <xi:include href="templates/en/footer.shtml" parse="xml"/>
- </body>
- </html></xsl:template>
- <xsl:template match="published">published on <xsl:value-of select="."/></xsl:template>
- <xsl:template match="updated">, last updated on <xsl:value-of select="."/></xsl:template>
- </xsl:stylesheet>