aboutsummaryrefslogtreecommitdiff
path: root/templates/category_repos.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 20:01:09 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 20:01:09 +0800
commitd0cf88cfc3d2c328f9e398ba94a770141f3a7be4 (patch)
tree8734557044fa622fdc71290453484429746fe3ed /templates/category_repos.html
parentrepo_{index,tree_dir}.html, style.css: Darker table title row (diff)
downloadforge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.tar.gz
forge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.tar.zst
forge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.zip
category_index -> category_repos
Diffstat (limited to 'templates/category_repos.html')
-rw-r--r--templates/category_repos.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/category_repos.html b/templates/category_repos.html
new file mode 100644
index 0000000..406fee4
--- /dev/null
+++ b/templates/category_repos.html
@@ -0,0 +1,23 @@
+{{- define "category_repos" -}}
+<!DOCTYPE html>
+<html>
+ <head>
+ {{ template "head_common" . }}
+ <title>Repos in {{ .category_name }} &ndash; Lindenii Forge</title>
+ </head>
+ <body class="category-index">
+ <div class="padding-wrapper">
+ <h1>
+ Repos in {{ .category_name }}
+ </h1>
+ <ul>
+ {{- range .repos }}
+ <li>
+ <a href="{{ . }}/">{{ . }}</a>
+ </li>
+ {{- end }}
+ </ul>
+ </div>
+ </body>
+</html>
+{{- end -}}