discourse/lib/oneboxer/templates/gist_onebox.handlebars

16 lines
466 B
Handlebars
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class='onebox-result'>
{{#host}}
2013-04-07 20:24:12 -04:00
<a href='{{original_url}}' class='source track-link' target="_blank">
2013-02-05 14:16:51 -05:00
{{#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>