aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_tree_file.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 23:55:26 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 23:55:26 +0800
commit6d4d140058af748b03ce808a2bd4463ded2ec058 (patch)
treefd9cc2f1a247545fabdbb79712c346b3e38347eb /templates/repo_tree_file.html.tmpl
parentrepo_commit: Reformat (diff)
downloadforge-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.tmpl3
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 }} &ndash; 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>