discourse/lib/oneboxer/templates/github_blob_onebox.hbrs

16 lines
537 B
Plaintext
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'>
<h4><a href="{{original_url}}" target="_blank">{{original_url}}</a></h4>
<pre><code class='{{lang}}'>{{content}}</code></pre>
{{#truncated}}
This file has been truncated. <a href="{{original_url}}" target="_blank">show original</a>
{{/truncated}}
</div>
</div>