aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 13:51:13 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 13:54:08 +0800
commitc4cab97b49a9b44608e242b148a9029718b6f6fb (patch)
tree1c3c4d1399e43cb419028f09a15db21ec03aff4f
parent*: project -> category (diff)
downloadforge-c4cab97b49a9b44608e242b148a9029718b6f6fb.tar.gz
forge-c4cab97b49a9b44608e242b148a9029718b6f6fb.tar.zst
forge-c4cab97b49a9b44608e242b148a9029718b6f6fb.zip
{category_,}index: Add heading
-rw-r--r--templates/category_index.html5
-rw-r--r--templates/index.html3
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/category_index.html b/templates/category_index.html
index 1ae0c64..76f55e1 100644
--- a/templates/category_index.html
+++ b/templates/category_index.html
@@ -5,8 +5,11 @@
<link rel="stylesheet" href="/static/style.css" />
<title>{{ .category_name }}</title>
</head>
-<body class="index">
+<body class="category-index">
<div class="padding-wrapper">
+<h1>
+Repos in {{ .category_name }}
+</h1>
<ul>
{{- range .repos }}
<li>
diff --git a/templates/index.html b/templates/index.html
index 219ae09..f7d64b3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -7,6 +7,9 @@
</head>
<body class="index">
<div class="padding-wrapper">
+<h1>
+Categories
+</h1>
<ul>
{{- range .categories }}
<li>