forked from indymedia/epicyon
Optional share image
parent
5d533071c2
commit
b0b21f7645
|
@ -136,8 +136,9 @@ def htmlSearchSharedItems(baseDir: str,searchStr: str,pageNumber: int,resultsPer
|
||||||
if currPage==pageNumber:
|
if currPage==pageNumber:
|
||||||
sharedItemsForm+='<div class="container">'
|
sharedItemsForm+='<div class="container">'
|
||||||
sharedItemsForm+='<p class="share-title">'+sharedItem['displayName']+'</p>'
|
sharedItemsForm+='<p class="share-title">'+sharedItem['displayName']+'</p>'
|
||||||
sharedItemsForm+='<a href="'+sharedItem['imageUrl']+'">'
|
if sharedItem('imageUrl'):
|
||||||
sharedItemsForm+='<img src="'+sharedItem['imageUrl']+'" alt="Item image"></a>'
|
sharedItemsForm+='<a href="'+sharedItem['imageUrl']+'">'
|
||||||
|
sharedItemsForm+='<img src="'+sharedItem['imageUrl']+'" alt="Item image"></a>'
|
||||||
sharedItemsForm+='<p>'+sharedItem['summary']+'</p>'
|
sharedItemsForm+='<p>'+sharedItem['summary']+'</p>'
|
||||||
sharedItemsForm+='<p><b>Type:</b> '+sharedItem['itemType']+' '
|
sharedItemsForm+='<p><b>Type:</b> '+sharedItem['itemType']+' '
|
||||||
sharedItemsForm+='<b>Category:</b> '+sharedItem['category']+' '
|
sharedItemsForm+='<b>Category:</b> '+sharedItem['category']+' '
|
||||||
|
|
Loading…
Reference in New Issue