mirror of
https://github.com/thelounge/thelounge
synced 2024-12-18 08:23:09 +00:00
19 lines
378 B
Smarty
19 lines
378 B
Smarty
{{#toggle}}
|
|
<div class="toggle-content">
|
|
{{#equal type "image"}}
|
|
<a href="{{link}}" target="_blank">
|
|
<img src="{{link}}">
|
|
</a>
|
|
{{else}}
|
|
<a href="{{link}}" target="_blank">
|
|
{{#if thumb}}
|
|
<img src="{{thumb}}" class="thumb">
|
|
{{/if}}
|
|
<div class="head">{{{parse head}}}</div>
|
|
<div class="body">
|
|
{{body}}
|
|
</div>
|
|
</a>
|
|
{{/equal}}
|
|
</div>
|
|
{{/toggle}}
|