mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
e4a76812a6
shrunk avatar to 60px, added global whitelisting
23 lines
770 B
Text
23 lines
770 B
Text
<div class='onebox-result'>
|
|
{{#host}}
|
|
<div class='source'>
|
|
<div class='info'>
|
|
<a href='{{original_url}}' class="track-link" target="_blank">
|
|
{{#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>
|
|
{{#by_info}}<h4>{{by_info}}</h4>{{/by_info}}
|
|
{{#unsafe}}
|
|
{{text}}
|
|
{{/unsafe}}
|
|
{{^unsafe}}
|
|
{{{text}}}
|
|
{{/unsafe}}
|
|
</div>
|
|
<div class='clearfix'></div>
|
|
</div>
|