Change everything round to be /ref/ instead of /commit/ as this makes more sense
[catagits/Gitalist.git] / root / ref / blob.tt2
diff --git a/root/ref/blob.tt2 b/root/ref/blob.tt2
new file mode 100644 (file)
index 0000000..29a3b7b
--- /dev/null
@@ -0,0 +1,14 @@
+[% INCLUDE inc/syntax_highlight_css.tt2 %]
+[% PROCESS 'nav/actions.tt2' object = head %]
+
+<div class='content'>
+  [% IF object.type == 'commit' %]
+   <div class='commit-message'>
+    [% short_cmt(head.comment) %]
+   </div>
+  [% END %]
+  [% INCLUDE 'nav/path.tt2' %]
+  <div>
+   <pre class='blob'>[% subinclude('/fragment/ref/blob', c.req.captures, c.req.args.to_path) %]</pre>
+  </div>
+</div>