diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-22 06:49:24 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-22 06:49:24 -0600 |
commit | 5c13375f554103c5a9cc78f902020744d35c24f2 (patch) | |
tree | f7fea5025f5952c4361b8354cccd7647de9ed4e3 /templates | |
parent | 7620dd41ca41cf4fb445d6a6e9afe2607ed77a95 (diff) | |
download | gityeet-5c13375f554103c5a9cc78f902020744d35c24f2.tar.gz gityeet-5c13375f554103c5a9cc78f902020744d35c24f2.zip |
actually handle files
who needs syntax highlighting and line numbers anyway
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_file.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/repo_file.html b/templates/repo_file.html new file mode 100644 index 0000000..e01d02c --- /dev/null +++ b/templates/repo_file.html @@ -0,0 +1,17 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" + content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + <title>{{ title }}</title> +</head> +<body> +<h1><a href="/">gityeet</a></h1> +<p>{{ rel_path }}</p> +<pre> +{{ blob.content()|from_utf8_lossy }} +</pre> +</body> +</html> |