Merge pull request #176 from lerni/Title-for-Images

Add Title for Images
This commit is contained in:
Will Rossiter 2021-01-12 07:10:34 +13:00 committed by GitHub
commit 71e62966d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
<% if $ImagesForSitemap %><% loop $ImagesForSitemap %> <% if $ImagesForSitemap %><% loop $ImagesForSitemap %>
<image:image> <image:image>
<image:loc>{$AbsoluteLink}</image:loc> <image:loc>{$AbsoluteLink}</image:loc>
<image:title>{$Title}</image:title>
</image:image> </image:image>
<% end_loop %><% end_if %> <% end_loop %><% end_if %>
</url> </url>

View File

@ -57,6 +57,7 @@
<img src="{\$imageURL}" width="40px"/> <img src="{\$imageURL}" width="40px"/>
</td> </td>
<td> <td>
<xsl:value-of select="image:title"/><br/>
<a href="{\$imageURL}"> <a href="{\$imageURL}">
<xsl:value-of select="image:loc"/> <xsl:value-of select="image:loc"/>
</a> </a>