aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 10:46:11 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 10:46:11 +0800
commit4fc7b66f8c8a0d65fe536d718a645b647823b9e6 (patch)
treeef5dc585d6695b97f953f789509722db6b18f3b7
parentrepo_index: Add / to directories in name listings (diff)
downloadforge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.tar.gz
forge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.tar.zst
forge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.zip
repo_tree_dir: Fix path_spec
-rw-r--r--templates/repo_tree_dir.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html
index 6708f0c..ed893fd 100644
--- a/templates/repo_tree_dir.html
+++ b/templates/repo_tree_dir.html
@@ -3,10 +3,13 @@
<html>
<head>
<link rel="stylesheet" href="/static/style.css" />
-<title>{{ .project_name }}/repos/{{ .repo_name }}/{{ .path }}</title>
+<title>{{ .project_name }}/repos/{{ .repo_name }}/{{ .path_spec }}</title>
</head>
<body class="repo-index">
<div class="padding-wrapper">
+<p>
+/{{ .path_spec }}/
+</p>
<table id="file-tree">
<thead>
<tr>