add new standard attribute `loading`
This commit is contained in:
parent
ec7e5f2fff
commit
5202caf791
|
@ -370,6 +370,7 @@
|
||||||
<xsl:attribute name="title"><xsl:value-of select="$license"/></xsl:attribute>
|
<xsl:attribute name="title"><xsl:value-of select="$license"/></xsl:attribute>
|
||||||
<xsl:attribute name="alt"><xsl:value-of select="$license"/></xsl:attribute>
|
<xsl:attribute name="alt"><xsl:value-of select="$license"/></xsl:attribute>
|
||||||
<xsl:attribute name="class"><xsl:value-of select="concat('line-height-size ',@class)"/></xsl:attribute>
|
<xsl:attribute name="class"><xsl:value-of select="concat('line-height-size ',@class)"/></xsl:attribute>
|
||||||
|
<xsl:attribute name="loading">lazy</xsl:attribute>
|
||||||
</img>
|
</img>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
@ -414,7 +415,8 @@
|
||||||
src="{$path}"
|
src="{$path}"
|
||||||
title="{@title}"
|
title="{@title}"
|
||||||
alt="{@title}"
|
alt="{@title}"
|
||||||
class="{@class}"/>
|
class="{@class}"
|
||||||
|
loading="lazy"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="item/image[1]">
|
<xsl:template match="item/image[1]">
|
||||||
|
@ -430,7 +432,8 @@
|
||||||
src="{$path}"
|
src="{$path}"
|
||||||
title="{@title}"
|
title="{@title}"
|
||||||
alt="{@title}"
|
alt="{@title}"
|
||||||
class="{@class}"/>
|
class="{@class}"
|
||||||
|
loading="lazy"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="link">
|
<xsl:template match="link">
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
<img src="{$baseurl}images/footer/cc-somerights20.png"
|
<img src="{$baseurl}images/footer/cc-somerights20.png"
|
||||||
width="88" height="31"
|
width="88" height="31"
|
||||||
alt="Creative Commons License"
|
alt="Creative Commons License"
|
||||||
title="Creative Commons Attribution-ShareAlike 2.0 Germany License" />
|
title="Creative Commons Attribution-ShareAlike 2.0 Germany License"
|
||||||
|
loading="lazy"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:comment>
|
<xsl:comment>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
|
@ -58,7 +59,8 @@
|
||||||
<img src="{$baseurl}images/footer/html5-badge-h-multimedia-semantics.png"
|
<img src="{$baseurl}images/footer/html5-badge-h-multimedia-semantics.png"
|
||||||
width="83" height="32"
|
width="83" height="32"
|
||||||
alt="HTML5 Powered with Multimedia, and Semantics"
|
alt="HTML5 Powered with Multimedia, and Semantics"
|
||||||
title="HTML5 Powered with Multimedia, and Semantics"/>
|
title="HTML5 Powered with Multimedia, and Semantics"
|
||||||
|
loading="lazy"/>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -247,6 +247,7 @@
|
||||||
<xsl:if test="@style">
|
<xsl:if test="@style">
|
||||||
<xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute>
|
<xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:attribute name="loading">lazy</xsl:attribute>
|
||||||
|
|
||||||
<!-- News-Items haben ihre Bilder abwechselnd rechts und links... -->
|
<!-- News-Items haben ihre Bilder abwechselnd rechts und links... -->
|
||||||
<xsl:attribute name="class">
|
<xsl:attribute name="class">
|
||||||
|
|
Loading…
Reference in New Issue