diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 11:01:52 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 11:01:52 +0800 |
commit | 88d054811df785b92b1b76dd91265849af8f29b3 (patch) | |
tree | 522a9175290322cbe615ba98acf07a8a81888fcc /templates/repo_tree_file.html.tmpl | |
parent | git_format_patch.go: Remove garbage printf (diff) | |
download | forge-88d054811df785b92b1b76dd91265849af8f29b3.tar.gz forge-88d054811df785b92b1b76dd91265849af8f29b3.tar.zst forge-88d054811df785b92b1b76dd91265849af8f29b3.zip |
*: Migrate to the new path scheme
Diffstat (limited to 'templates/repo_tree_file.html.tmpl')
-rw-r--r-- | templates/repo_tree_file.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 90ce5ad..d4ba1e8 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -11,7 +11,7 @@ {{ template "repo_header" . }} </header> <p> - /{{ .path_spec }} (<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if not (eq .ref_type "head") }}?{{ .ref_type }}={{ .ref }}{{ end }}">raw</a>) + /{{ .path_spec }} (<a href="/{{ .group_name }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if not (eq .ref_type "head") }}?{{ .ref_type }}={{ .ref }}{{ end }}">raw</a>) </p> {{ .file_contents }} <footer> |