discourse/lib/oneboxer/templates/simple_onebox.hbrs

24 lines
770 B
Plaintext
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class='onebox-result'>
{{#host}}
<div class='source'>
<div class='info'>
2013-04-07 20:24:12 -04:00
<a href='{{original_url}}' class="track-link" target="_blank">
2013-02-05 14:16:51 -05:00
{{#favicon}}<img class='favicon' src="{{favicon}}"> {{/favicon}}{{host}}
</a>
</div>
</div>
{{/host}}
<div class='onebox-result-body'>
{{#image}}<img src="{{image}}" class="thumbnail">{{/image}}
<h3><a href="{{original_url}}" target="_blank"{{#image_height}} height="{{image_height}}"{{/image_height}}{{#image_width}} width="{{image_width}}"{{/image_width}}>{{title}}</a></h3>
2013-02-05 14:16:51 -05:00
{{#by_info}}<h4>{{by_info}}</h4>{{/by_info}}
{{#unsafe}}
{{text}}
{{/unsafe}}
{{^unsafe}}
{{{text}}}
{{/unsafe}}
2013-02-05 14:16:51 -05:00
</div>
<div class='clearfix'></div>
</div>