aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 12:41:36 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 12:41:36 +0800
commit4e1e24ba56182efe0715fbe96bd581f229e6f062 (patch)
treecadb262481cf7889ea968816b675b2c7c7fdc5e3 /templates
parentFurther remove .rounded and .rounded-footed (diff)
downloadforge-4e1e24ba56182efe0715fbe96bd581f229e6f062.tar.gz
forge-4e1e24ba56182efe0715fbe96bd581f229e6f062.tar.zst
forge-4e1e24ba56182efe0715fbe96bd581f229e6f062.zip
Remove unnecessary whitespace in branches template
Diffstat (limited to 'templates')
-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>