diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:55:26 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:55:26 +0800 |
commit | 6d4d140058af748b03ce808a2bd4463ded2ec058 (patch) | |
tree | fd9cc2f1a247545fabdbb79712c346b3e38347eb /templates/repo_tree_file.html.tmpl | |
parent | repo_commit: Reformat (diff) | |
download | forge-6d4d140058af748b03ce808a2bd4463ded2ec058.tar.gz forge-6d4d140058af748b03ce808a2bd4463ded2ec058.tar.zst forge-6d4d140058af748b03ce808a2bd4463ded2ec058.zip |
*.html: Add a simple repo header
Diffstat (limited to 'templates/repo_tree_file.html.tmpl')
-rw-r--r-- | templates/repo_tree_file.html.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 0401bb0..cf82c44 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -7,6 +7,9 @@ <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – Lindenii Forge</title> </head> <body class="repo-tree-file"> + <header> + {{ template "repo_header" . }} + </header> <p> /{{ .path_spec }} (<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/raw/{{ .path_spec }}?{{ .ref_type }}={{ .ref }}">raw</a>) </p> |