Allow multiple images per tweet in RSS feeds
This commit is contained in:
parent
7c35875fbf
commit
1f2a725f4d
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@
|
||||||
<p>${text}</p>
|
<p>${text}</p>
|
||||||
#end if
|
#end if
|
||||||
#if tweet.photos.len > 0:
|
#if tweet.photos.len > 0:
|
||||||
<img src="https://${hostname}${getPicUrl(tweet.photos[0])}" width="250" />
|
#for photo in tweet.photos:
|
||||||
|
<img src="https://${hostname}${getPicUrl(photo)}" width="250" />
|
||||||
|
#end for
|
||||||
#elif tweet.video.isSome:
|
#elif tweet.video.isSome:
|
||||||
<img src="https://${hostname}${getPicUrl(get(tweet.video).thumb)}" width="250" />
|
<img src="https://${hostname}${getPicUrl(get(tweet.video).thumb)}" width="250" />
|
||||||
#elif tweet.gif.isSome:
|
#elif tweet.gif.isSome:
|
||||||
|
|
Loading…
Reference in a new issue