mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Merge pull request #176 from lerni/Title-for-Images
Add Title for Images
This commit is contained in:
commit
71e62966d0
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user