Source files of,,,,, and Contribute:
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl=""
<xsl:import href="build/xslt/gettext.xsl" />
<xsl:import href="tools/xsltsl/static-elements.xsl" />
<xsl:import href="tools/xsltsl/tagging.xsl" />
<xsl:import href="build/xslt/fsfe_head.xsl" />
<xsl:import href="build/xslt/fsfe_body.xsl" />
<!-- For pages used on external web servers, load the CSS from absolute URL -->
<xsl:variable name="urlprefix">
<xsl:if test="/buildinfo/document/@external"></xsl:if>
<xsl:include href="build/xslt/fsfe_document.xsl" />
<xsl:include href="build/xslt/fsfe_headings.xsl" />
<xsl:include href="build/xslt/fsfe_localmenu.xsl" />
<!-- Do not copy non-HTML elements to output -->
<xsl:include href="build/xslt/fsfe_nolocal.xsl" />
<!-- HTML 5 compatibility doctype, since our XSLT parser doesn't support disabling output escaping -->
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<!-- Ignore "latin" tags, used only for printable material -->
<xsl:template match="latin">
<xsl:apply-templates select="@*|node()"/>
<!--FIXME ↓-->
<xsl:template match="fetch-news">
<xsl:call-template name="fetch-news">
<xsl:with-param name="tag" select="'/buildinfo/document/sidebar/@news'"/>
<xsl:with-param name="nb-items" select="4"/>