aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 21:19:55 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 21:19:55 +0800
commit9c4f62a4a0705657404745c84d9ba9472d32def5 (patch)
tree08d4b42a2a826228af5e38b846465f745421aa65 /templates
parentresources: Serve source and static properly (diff)
downloadforge-9c4f62a4a0705657404745c84d9ba9472d32def5.tar.gz
forge-9c4f62a4a0705657404745c84d9ba9472d32def5.tar.zst
forge-9c4f62a4a0705657404745c84d9ba9472d32def5.zip
*: category -> group
Diffstat (limited to '')
-rw-r--r--templates/category_repos.html8
-rw-r--r--templates/repo_index.html2
-rw-r--r--templates/repo_tree_dir.html2
-rw-r--r--templates/repo_tree_file.html2
4 files changed, 7 insertions, 7 deletions
diff --git a/templates/category_repos.html b/templates/category_repos.html
index 406fee4..aa4c926 100644
--- a/templates/category_repos.html
+++ b/templates/category_repos.html
@@ -1,14 +1,14 @@
-{{- define "category_repos" -}}
+{{- define "group_repos" -}}
<!DOCTYPE html>
<html>
<head>
{{ template "head_common" . }}
- <title>Repos in {{ .category_name }} &ndash; Lindenii Forge</title>
+ <title>Repos in {{ .group_name }} &ndash; Lindenii Forge</title>
</head>
- <body class="category-index">
+ <body class="group-index">
<div class="padding-wrapper">
<h1>
- Repos in {{ .category_name }}
+ Repos in {{ .group_name }}
</h1>
<ul>
{{- range .repos }}
diff --git a/templates/repo_index.html b/templates/repo_index.html
index bc29cf1..7ae7bcd 100644
--- a/templates/repo_index.html
+++ b/templates/repo_index.html
@@ -3,7 +3,7 @@
<html>
<head>
{{ template "head_common" . }}
- <title>{{ .category_name }}/repos/{{ .repo_name }} &ndash; Lindenii Forge</title>
+ <title>{{ .group_name }}/repos/{{ .repo_name }} &ndash; Lindenii Forge</title>
</head>
<body class="repo-index">
<div class="padding-wrapper">
diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html
index 207fcaa..60d9ede 100644
--- a/templates/repo_tree_dir.html
+++ b/templates/repo_tree_dir.html
@@ -3,7 +3,7 @@
<html>
<head>
{{ template "head_common" . }}
- <title>{{ .category_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} &ndash; Lindenii Forge</title>
+ <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} &ndash; Lindenii Forge</title>
</head>
<body class="repo-tree-dir">
<div class="padding-wrapper">
diff --git a/templates/repo_tree_file.html b/templates/repo_tree_file.html
index 26c8eef..b1ba877 100644
--- a/templates/repo_tree_file.html
+++ b/templates/repo_tree_file.html
@@ -4,7 +4,7 @@
<head>
{{ template "head_common" . }}
<link rel="stylesheet" href="/static/chroma.css" />
- <title>{{ .category_name }}/repos/{{ .repo_name }}/{{ .path_spec }} &ndash; Lindenii Forge</title>
+ <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} &ndash; Lindenii Forge</title>
</head>
<body class="repo-tree-file">
<p>