diff options
Diffstat (limited to 'templates/du2html.xsl')
-rw-r--r-- | templates/du2html.xsl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl index 7c3128b..92b87b9 100644 --- a/templates/du2html.xsl +++ b/templates/du2html.xsl @@ -143,10 +143,12 @@ <x:value-of select="$const-tr[@t=$n and @l=$language]"/> </x:template> +<!-- i feed al momento mandano in segfault libxslt <x:template match="field[field_name='feed']"> <x:variable name="url" select="normalize-space(string(field_body))"/> <link rel="alternate" type="application/atom+xml" href="{$url}feed.{$language}.xml"/> </x:template> +--> <!-- qui ce ne freghiamo del @source, tanto viene usata solo per i documenti stand-alone --> @@ -160,7 +162,9 @@ <link rel="stylesheet" type="text/css" href="/html4css1.css" /> <link rel="stylesheet" type="text/css" href="/content.css" /> <link rel="icon" type="image/png" href="/favicon.png" /> +<!-- i feed al momento mandano in segfault libxslt <x:apply-templates select="docinfo/field[field_name='feed']"/> +--> <x:for-each select="docinfo/field[field_name='css']/field_body/*/list_item|docinfo/field[field_name='css']/field_body/paragraph"> <link rel="stylesheet" type="text/css" href="{normalize-space(.)}" /> </x:for-each> |