diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-05 08:54:53 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-05 08:57:55 +0200 |
commit | ec83b34a8f2ab92966ecbfc196245f5965306484 (patch) | |
tree | c38ff2e99b54598aed3b897e6416b3d9da46ddf4 /xsl/common.xsl | |
parent | 7c0de6da893a1e709663c462170ff2c0e4110ac1 (diff) | |
download | mutti-web-ec83b34a8f2ab92966ecbfc196245f5965306484.tar.gz mutti-web-ec83b34a8f2ab92966ecbfc196245f5965306484.tar.bz2 mutti-web-ec83b34a8f2ab92966ecbfc196245f5965306484.zip |
Allow to use different resource caching schemes
On the deployment server we no use
make versioned_jpg="'s/.*/.&.jpg/'" versioned_png="'s/.*/.&.png/'"
to generate resource urls like image.f74d4ea.png
Diffstat (limited to 'xsl/common.xsl')
-rw-r--r-- | xsl/common.xsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xsl/common.xsl b/xsl/common.xsl index 0b7eefc..007d8a2 100644 --- a/xsl/common.xsl +++ b/xsl/common.xsl @@ -19,6 +19,9 @@ <xsl:param name="stylesheet" select="'@import url("style/style.css");'" /> <xsl:param name="version" select="''" /> + <xsl:param name="versioned_jpg" select="'.jpg'" /> + <xsl:param name="versioned_png" select="'.png'" /> + <xsl:output method="xml" indent="no" encoding="utf-8" cdata-section-elements="script style" media-type="application/xhtml+xml" |