Fix final bits of stylesheets for not having to be based at /
[catagits/Gitalist.git] / root / _diff.tt2
index a2c93df..869e0ee 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
+<link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/syntax/' + language + '.css') %]"/>
 [% FOREACH item IN diff %]
 <div class='diff-head'>
  diff --git