templates/githubblob.mustache in onebox-1.1.0 vs templates/githubblob.mustache in onebox-1.2.0
- old
+ new
@@ -1,5 +1,7 @@
-<h2 class="host">github.com</h2>
-{{url}}
-{{filename}}
-{{lines}}
-{{file}}
+<h4><a href="{{link}}" target="_blank">{{link}}</a></h4>
+<pre><code class='{{lang}}'>{{content}}</code></pre>
+
+{{#truncated}}
+ This file has been truncated. <a href="{{link}}" target="_blank">show original</a>
+{{/truncated}}
+