diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 10:46:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 10:46:11 +0800 |
commit | 4fc7b66f8c8a0d65fe536d718a645b647823b9e6 (patch) | |
tree | ef5dc585d6695b97f953f789509722db6b18f3b7 | |
parent | repo_index: Add / to directories in name listings (diff) | |
download | forge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.tar.gz forge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.tar.zst forge-4fc7b66f8c8a0d65fe536d718a645b647823b9e6.zip |
repo_tree_dir: Fix path_spec
-rw-r--r-- | templates/repo_tree_dir.html | 5 |
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> |