aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_tree_file.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-01 22:29:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-01 22:46:55 +0800
commit3a1f109493d6a0e2aa5480c5db3e065108574f5a (patch)
treefc06e6667c4a7f7e4aa4d4267b080c1fd7d447b8 /templates/repo_tree_file.tmpl
parentMore segments fixes (diff)
downloadforge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.tar.gz
forge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.tar.zst
forge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.zip
Change /: in templates
Probably more nasty ones to come
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 0d8c69e..8f996d9 100644
--- a/templates/repo_tree_file.tmpl
+++ b/templates/repo_tree_file.tmpl
@@ -8,7 +8,7 @@
<html lang="en">
<head>
{{- template "head_common" . -}}
- <link rel="stylesheet" href="/:/static/chroma.css" />
+ <link rel="stylesheet" href="/-/static/chroma.css" />
<title>/{{ .path_spec }} &ndash; {{ .repo_name }} &ndash; {{ template "group_path_plain" .group_path }} &ndash; {{ .global.forge_title -}}</title>
</head>
<body class="repo-tree-file">
@@ -46,7 +46,7 @@
</div>
<div class="padding">
<p>
- /{{ .path_spec }} (<a href="/{{ template "group_path_plain" .group_path }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{- template "ref_query" $root -}}">raw</a>)
+ /{{ .path_spec }} (<a href="/{{ template "group_path_plain" .group_path }}/-/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{- template "ref_query" $root -}}">raw</a>)
</p>
{{- .file_contents -}}
</div>