aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/repo_index.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index e248cdd..cd0e4fe 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -42,13 +42,13 @@
</tr>
</thead>
<tbody>
- {{ range .branches }}
+ {{- range .branches -}}
<tr>
<td>
<a href="./?branch={{ . }}">{{ . }}</a>
</td>
</tr>
- {{ end }}
+ {{- end -}}
</tbody>
</table>
</div>