All checks were successful
continuous-integration/drone/push Build is passing
update docs update nix-shell to auto install rework custom pre-commit hooks to integrate better add dockerfile for lefthook and integrate into drone add some more hooks for formatting and linting some files Co-authored-by: Darragh Elliott <me@delliott.net> Reviewed-on: #5248 Co-authored-by: delliott <delliott@fsfe.org> Co-committed-by: delliott <delliott@fsfe.org>
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
<xsl:import href="../../fsfe.xsl"/>
|
|
<!-- Fill dynamic content -->
|
|
<xsl:template match="dynamic-content">
|
|
<xsl:element name="ul">
|
|
<xsl:for-each select="/buildinfo/document/set/document">
|
|
<xsl:sort select="@date" order="descending"/>
|
|
<xsl:element name="li">
|
|
<xsl:element name="p">
|
|
<!-- Title as link -->
|
|
<xsl:element name="b">
|
|
<xsl:element name="a">
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="link"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="title"/>
|
|
</xsl:element>
|
|
</xsl:element>
|
|
<!-- Date -->
|
|
<xsl:text> (</xsl:text>
|
|
<xsl:value-of select="@date"/>
|
|
<xsl:text>)</xsl:text>
|
|
<!-- Line break -->
|
|
<xsl:element name="br"/>
|
|
<!-- Description text -->
|
|
<xsl:apply-templates select="description/node()"/>
|
|
</xsl:element>
|
|
</xsl:element>
|
|
</xsl:for-each>
|
|
</xsl:element>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|