discourse/lib/oneboxer/templates/gist_onebox.hbrs

16 lines
455 B
Plaintext

<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>