diff options
Diffstat (limited to 'templates/repo_tree_file.tmpl')
-rw-r--r-- | templates/repo_tree_file.tmpl | 4 |
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 }} – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }}</title> + <title>/{{ .path_spec }} – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .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> |