Generate <img> tags with Smarty
This commit is contained in:
parent
ce9b4d9a48
commit
d9ba01f017
4 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
{t params=['@title' => $title]}You are going to download @title.{/t}
|
||||
</p>
|
||||
{if isset($video->thumbnail)}
|
||||
<img itemprop="thumbnailUrl" class="thumb" src="{$video->thumbnail}" alt=""/>
|
||||
{html_image file=$video->thumbnail itemprop="thumbnailUrl" class="thumb"}
|
||||
{/if}
|
||||
{if isset($video->description)}
|
||||
<meta itemprop="description" content="{$video->description|escape}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue