diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 12:32:33 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 12:32:33 +0800 |
commit | 662aeed1122dae0cbb74022b3bfb4013075c36f8 (patch) | |
tree | 3b9afbcef743d101bd5935489c51dba443016e84 /templates/group_repos.html.tmpl | |
parent | git_misc: Don't return error on repos with fewer than 3 commits (diff) | |
download | forge-662aeed1122dae0cbb74022b3bfb4013075c36f8.tar.gz forge-662aeed1122dae0cbb74022b3bfb4013075c36f8.tar.zst forge-662aeed1122dae0cbb74022b3bfb4013075c36f8.zip |
group_{index,repos}: Rename files too
Diffstat (limited to 'templates/group_repos.html.tmpl')
-rw-r--r-- | templates/group_repos.html.tmpl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/group_repos.html.tmpl b/templates/group_repos.html.tmpl new file mode 100644 index 0000000..7d39ea9 --- /dev/null +++ b/templates/group_repos.html.tmpl @@ -0,0 +1,26 @@ +{{- define "group_repos" -}} +<!DOCTYPE html> +<html lang="en"> + <head> + {{ template "head_common" . }} + <title>Repos in {{ .group_name }} – Lindenii Forge</title> + </head> + <body class="group-index"> + <div class="padding-wrapper"> + <h1> + Repos in {{ .group_name }} + </h1> + <ul> + {{- range .repos }} + <li> + <a href="{{ . }}/">{{ . }}</a> + </li> + {{- end }} + </ul> + </div> + <footer> + {{ template "footer" . }} + </footer> + </body> +</html> +{{- end -}} |