diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:13:04 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:15:51 +0800 |
commit | b288beea9ddc5709769997a9101f25a78e286b89 (patch) | |
tree | db548c0ca63f180b25acb6f9822ab38bc41c15d0 /templates/repo_tree_file.html.tmpl | |
parent | style.css: Fix file content background (diff) | |
download | forge-b288beea9ddc5709769997a9101f25a78e286b89.tar.gz forge-b288beea9ddc5709769997a9101f25a78e286b89.tar.zst forge-b288beea9ddc5709769997a9101f25a78e286b89.zip |
*: Use URL params to specify commits/branches/tags
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 7ddfce1..0401bb0 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -8,7 +8,7 @@ </head> <body class="repo-tree-file"> <p> - /{{ .path_spec }} (<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/raw/{{ .ref }}/{{ .path_spec }}">raw</a>) + /{{ .path_spec }} (<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/raw/{{ .path_spec }}?{{ .ref_type }}={{ .ref }}">raw</a>) </p> {{ .file_contents }} <footer> |