discourse/lib/oneboxer/templates/gist_onebox.hbrs

16 lines
455 B
Text
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class='onebox-result'>
{{#host}}
<a href='{{original_url}}' class='source' target="_blank">
{{#favicon}}<img class='favicon' src="{{favicon}}"> {{/favicon}}{{host}}
</a>
{{/host}}
<div class='onebox-result-body'>
{{#title}}
<h3><a href="{{original_url}}" target="_blank">{{title}}</a></h3>
{{/title}}
{{#files}}
<h4>{{filename}}</h4>
<pre><code>{{content}}</code></pre>
{{/files}}
</div>
</div>