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="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="loading">lazy</xsl:attribute>
|
||||
</img>
|
||||
</xsl:template>
|
||||
|
||||
|
@ -414,7 +415,8 @@
|
|||
src="{$path}"
|
||||
title="{@title}"
|
||||
alt="{@title}"
|
||||
class="{@class}"/>
|
||||
class="{@class}"
|
||||
loading="lazy"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="item/image[1]">
|
||||
|
@ -430,7 +432,8 @@
|
|||
src="{$path}"
|
||||
title="{@title}"
|
||||
alt="{@title}"
|
||||
class="{@class}"/>
|
||||
class="{@class}"
|
||||
loading="lazy"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="link">
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
<img src="{$baseurl}images/footer/cc-somerights20.png"
|
||||
width="88" height="31"
|
||||
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>
|
||||
<xsl:comment>
|
||||
<xsl:text>
|
||||
|
@ -58,7 +59,8 @@
|
|||
<img src="{$baseurl}images/footer/html5-badge-h-multimedia-semantics.png"
|
||||
width="83" height="32"
|
||||
alt="HTML5 Powered with Multimedia, and Semantics"
|
||||
title="HTML5 Powered with Multimedia, and Semantics"/>
|
||||
title="HTML5 Powered with Multimedia, and Semantics"
|
||||
loading="lazy"/>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -247,6 +247,7 @@
|
|||
<xsl:if test="@style">
|
||||
<xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:attribute name="loading">lazy</xsl:attribute>
|
||||
|
||||
<!-- News-Items haben ihre Bilder abwechselnd rechts und links... -->
|
||||
<xsl:attribute name="class">
|
||||
|
|
Loading…
Reference in New Issue