Path in href of link element is now generate relative to theme directory
git-svn-id: https://svn.libreccm.org/ccm/trunk@4970 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
66dd115f11
commit
68f712cfc4
|
|
@ -1689,8 +1689,11 @@
|
||||||
<xsl:template match="head/link">
|
<xsl:template match="head/link">
|
||||||
<link>
|
<link>
|
||||||
<xsl:call-template name="foundry:process-layouttree-attributes">
|
<xsl:call-template name="foundry:process-layouttree-attributes">
|
||||||
<xsl:with-param name="copy-attributes" select="'href crossorigin rel rev media hreflang type sizes'" />
|
<xsl:with-param name="copy-attributes" select="'crossorigin rel rev media hreflang type sizes'" />
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
|
<xsl:if test="./@href">
|
||||||
|
<xsl:attribute name="href" select="foundry:gen-path(./@href)" />
|
||||||
|
</xsl:if>
|
||||||
</link>
|
</link>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue