xsl/portal2items: try to use mediagoblin .medium.jpg for portal
This commit is contained in:
parent
6c757cfb56
commit
9efb6b2a67
|
@ -58,7 +58,7 @@
|
|||
<xsl:template match="atom:link[@rel='enclosure' and @href]" mode="gallery">
|
||||
<content-image>
|
||||
<xsl:text>/mgoblin_media/</xsl:text>
|
||||
<xsl:value-of select="concat(substring-before(substring-after(@href, '/mgoblin_media/'), '.jpg'), '.thumbnail.jpg')"/>
|
||||
<xsl:value-of select="replace(substring-after(@href, '/mgoblin_media/'), '.jpg', '.medium.jpg')"/>
|
||||
</content-image>
|
||||
</xsl:template>
|
||||
<xsl:template match="atom:link[@rel='alternate' and @href]" mode="gallery">
|
||||
|
|
Loading…
Reference in New Issue