aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_file.html
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-22 06:49:24 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-22 06:49:24 -0600
commit5c13375f554103c5a9cc78f902020744d35c24f2 (patch)
treef7fea5025f5952c4361b8354cccd7647de9ed4e3 /templates/repo_file.html
parent7620dd41ca41cf4fb445d6a6e9afe2607ed77a95 (diff)
downloadgityeet-5c13375f554103c5a9cc78f902020744d35c24f2.tar.gz
gityeet-5c13375f554103c5a9cc78f902020744d35c24f2.zip
actually handle files
who needs syntax highlighting and line numbers anyway
Diffstat (limited to 'templates/repo_file.html')
-rw-r--r--templates/repo_file.html17
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>