Lindenii Project Forge
Commit info | |
---|---|
ID | bc9c88121d4e6c85b9b836c2f4fd6f47c069f6f6 |
Author | Runxi Yu<me@runxiyu.org> |
Author date | Tue, 11 Feb 2025 12:39:17 +0800 |
Committer | Runxi Yu<me@runxiyu.org> |
Committer date | Tue, 11 Feb 2025 12:39:17 +0800 |
Actions | Get patch |
repo_tree: Add link to raw
{{- define "repo_tree_file" -}} <!DOCTYPE html> <html lang="en"> <head> {{ template "head_common" . }} <link rel="stylesheet" href="/static/chroma.css" /> <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – Lindenii Forge</title> </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> {{ template "footer" . }} </footer> </body> </html> {{- end -}}