Make sure we find git at app start time
[catagits/Gitalist.git] / root / inc / chroma_hash.tt2
index d201d96..b07a1ea 100755 (executable)
@@ -7,7 +7,7 @@
     END;
 -%]
 
-<div class='button sha1_holder[% "_invert" IF loop.count % 2 %]' style="background-color:#[% sha1part %]"></div>
+<div class='button sha1_holder[% "_invert" IF loop.count && loop.count % 2 %]' style="background-color:#[% sha1part %]"></div>
 [% IF !hide_sha1_output %]
 <div class="sha1_label">[% sha1part %]</div>
 [% END %]