mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Add Title for Images
This commit is contained in:
parent
56b25a424f
commit
1d535ade02
@ -10,6 +10,7 @@
|
||||
<% if $ImagesForSitemap %><% loop $ImagesForSitemap %>
|
||||
<image:image>
|
||||
<image:loc>{$AbsoluteLink}</image:loc>
|
||||
<image:title>{$Title}</image:title>
|
||||
</image:image>
|
||||
<% end_loop %><% end_if %>
|
||||
</url>
|
||||
|
@ -57,6 +57,7 @@
|
||||
<img src="{\$imageURL}" width="40px"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="image:title"/><br/>
|
||||
<a href="{\$imageURL}">
|
||||
<xsl:value-of select="image:loc"/>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user