diff options
Diffstat (limited to 'templates/repo_tree_file.html.tmpl')
-rw-r--r-- | templates/repo_tree_file.html.tmpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl new file mode 100644 index 0000000..7012cb1 --- /dev/null +++ b/templates/repo_tree_file.html.tmpl @@ -0,0 +1,19 @@ +{{- define "repo_tree_file" -}} +<!DOCTYPE html> +<html> + <head> + {{ template "head_common" . }} + <link rel="stylesheet" href="/static/chroma.css" /> + <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – Lindenii Forge</title> + </head> + <body class="repo-tree-file"> + <p> + /{{ .path_spec }} + </p> + {{ .file_contents }} + <footer> + {{ template "footer" . }} + </footer> + </body> +</html> +{{- end -}} |