diff options
Diffstat (limited to '')
-rw-r--r-- | templates/repo_tree_file.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index 333e1dc..b0ce0f1 100644 --- a/templates/repo_tree_file.tmpl +++ b/templates/repo_tree_file.tmpl @@ -6,20 +6,20 @@ <!DOCTYPE html> <html lang="en"> <head> - {{ template "head_common" . }} + {{- template "head_common" . -}} <link rel="stylesheet" href="/:/static/chroma.css" /> - <title>/{{ .path_spec }} – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .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" . }} + {{- template "header" . -}} <div class="padding"> <p> /{{ .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 }} + {{- .file_contents -}} </div> <footer> - {{ template "footer" . }} + {{- template "footer" . -}} </footer> </body> </html> |