aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_tree_file.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/repo_tree_file.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl
index d6890b8..333e1dc 100644
--- a/templates/repo_tree_file.tmpl
+++ b/templates/repo_tree_file.tmpl
@@ -8,13 +8,13 @@
<head>
{{ template "head_common" . }}
<link rel="stylesheet" href="/:/static/chroma.css" />
- <title>/{{ .path_spec }} &ndash; {{ .repo_name }} &ndash; {{ .group_name }} &ndash; {{ .global.forge_title }}</title>
+ <title>/{{ .path_spec }} &ndash; {{ .repo_name }} &ndash; {{ template "group_path_plain" .group_path }} &ndash; {{ .global.forge_title }}</title>
</head>
<body class="repo-tree-file">
{{ template "header" . }}
<div class="padding">
<p>
- /{{ .path_spec }} (<a href="/{{ .group_name }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if .ref_type }}?{{ .ref_type }}={{ .ref_name }}{{ end }}">raw</a>)
+ /{{ .path_spec }} (<a href="/{{ template "group_path_plain" .group_path }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if .ref_type }}?{{ .ref_type }}={{ .ref_name }}{{ end }}">raw</a>)
</p>
{{ .file_contents }}
</div>