aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 12:23:36 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 12:23:36 +0800
commit4493abc558daed31f90bf831074a4ba0c5c87740 (patch)
tree98f2862a005fa51ade1d60100dab44b9ec9b5691 /templates
parenthandle_repo_{index,tree}: Don't crash on missing README (diff)
downloadforge-4493abc558daed31f90bf831074a4ba0c5c87740.tar.gz
forge-4493abc558daed31f90bf831074a4ba0c5c87740.tar.zst
forge-4493abc558daed31f90bf831074a4ba0c5c87740.zip
repo_tree_{dir,file}: Fix body class
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_tree_dir.html2
-rw-r--r--templates/repo_tree_file.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html
index 14dc15a..93fa830 100644
--- a/templates/repo_tree_dir.html
+++ b/templates/repo_tree_dir.html
@@ -5,7 +5,7 @@
<link rel="stylesheet" href="/static/style.css" />
<title>{{ .project_name }}/repos/{{ .repo_name }}/{{ .path_spec }}</title>
</head>
-<body class="repo-index">
+<body class="repo-tree-dir">
<div class="padding-wrapper">
<p>
/{{ .path_spec }}/
diff --git a/templates/repo_tree_file.html b/templates/repo_tree_file.html
index 0df9216..7cf335a 100644
--- a/templates/repo_tree_file.html
+++ b/templates/repo_tree_file.html
@@ -5,7 +5,7 @@
<link rel="stylesheet" href="/static/style.css" />
<title>{{ .project_name }}/repos/{{ .repo_name }}/{{ .path_spec }}</title>
</head>
-<body class="repo-index">
+<body class="repo-tree-file">
<p>
/{{ .path_spec }}
</p>