mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 05:33:38 +08:00
16 lines
537 B
Plaintext
16 lines
537 B
Plaintext
<div class='onebox-result'>
|
|
{{#host}}
|
|
<a href='{{original_url}}' class='source track-link' target="_blank">
|
|
{{#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>
|