entry.xsl.in (1542B)
- <?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/*)"/>
- <meta property="og:type" content="article"/>
- <xsl:if test="title"><meta property="og:title" content="{title}"/>
- <title><xsl:value-of select="title"/> - lanodan's cyber-home</title></xsl:if>
- </head>
- <body>
- <xsl:call-template name="nav"/>
- <article>
- <a href="{id}"><h1><xsl:value-of select="title"/></h1></a>
- <p class="timestamps"><xsl:apply-templates select="published"/><xsl:apply-templates select="updated"/></p>
- <xsl:copy-of select="content/*"/>
- <xsl:if test="link[@type='application/activity+json']"><p>
- <a href="{link[@type='application/activity+json']/@href}" rel="replies external">Fediverse post for comments</a>
- </p></xsl:if>
- </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>