1
0
Fork 0
mirror of https://gitlab.com/sbrl/GalleryShare.git synced 2018-06-12 22:45:16 +00:00

Add directory previews to XSLT

This commit is contained in:
Starbeamrainbowlabs 2016-08-10 21:44:28 +01:00
parent baaca4ca60
commit f99c31c9f6

View file

@ -34,8 +34,7 @@
</xsl:template> </xsl:template>
<xsl:template match="ListingEntry[@Type='Directory']"> <xsl:template match="ListingEntry[@Type='Directory']">
<a href="{Name}" class="preview-backdrop"> <a href="{Name}" class="preview-backdrop">
<figure class="preview directory"> <figure class="preview directory" style="background-image: url('{Name}?type=thumbnail');">
(coming soon)
<figcaption><xsl:value-of select="DisplayName" /></figcaption> <figcaption><xsl:value-of select="DisplayName" /></figcaption>
</figure> </figure>
</a> </a>