You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/05/19 21:52:07 UTC
svn commit: r657945 - /lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
Author: andreas
Date: Mon May 19 12:52:07 2008
New Revision: 657945
URL: http://svn.apache.org/viewvc?rev=657945&view=rev
Log:
Showing Lenya version in generator meta element (helps to identify the Lenya version of live sites).
Modified:
lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
Modified: lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl?rev=657945&r1=657944&r2=657945&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl Mon May 19 12:52:07 2008
@@ -43,6 +43,7 @@
<!--Following is a show off to explain lenya.properties.xml -->
<xsl:param name="author"/>
+ <xsl:param name="lenyaVersion"/>
<xsl:variable name="root" select="concat('/', $publication-id, '/', $area)"/>
@@ -59,7 +60,7 @@
<link rel="stylesheet" href="{$root}/css/{$document-type}.css" type="text/css"/>
<xsl:copy-of select="xhtml:html/xhtml:head/*"/>
</xsl:if>
- <meta content="Apache Lenya" name="generator"/>
+ <meta content="Apache Lenya {$lenyaVersion}" name="generator"/>
<title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/" default="error-404"
i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org