entrée.xsl.in (1557B)
- <?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/fr/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="fr" lang="fr">
- <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</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">Message sur le fédiverse pour les commentaires</a>
- </p></xsl:if>
- </article>
- <xi:include href="templates/fr/footer.shtml" parse="xml"/>
- </body>
- </html></xsl:template>
- <xsl:template match="published">publié le <xsl:value-of select="."/></xsl:template>
- <xsl:template match="updated">, dernière mise-à-jour le <xsl:value-of select="."/></xsl:template>
- </xsl:stylesheet>