diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 12:39:17 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 12:39:17 +0800 |
commit | bc9c88121d4e6c85b9b836c2f4fd6f47c069f6f6 (patch) | |
tree | 35470ad1d310f1bd91fa74e79f72825334230bf6 | |
parent | repo_raw: Serve raw files (diff) | |
download | forge-bc9c88121d4e6c85b9b836c2f4fd6f47c069f6f6.tar.gz forge-bc9c88121d4e6c85b9b836c2f4fd6f47c069f6f6.tar.zst forge-bc9c88121d4e6c85b9b836c2f4fd6f47c069f6f6.zip |
repo_tree: Add link to raw
-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 2691608..7ddfce1 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 }} + /{{ .path_spec }} (<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/raw/{{ .ref }}/{{ .path_spec }}">raw</a>) </p> {{ .file_contents }} <footer> |