discourse/lib/oneboxer/templates/github_blob_onebox.hbrs

16 lines
537 B
Plaintext
Raw Normal View History

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