summary refs log tree commit diff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..7f7c2cf
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,16 @@
+<html lang="en">
+<title>arXiv randomizer</title>
+<style>
+@media (prefers-color-scheme: dark) {
+    body { background-color: #121212; color: #d4d4d4; }
+    a { color: #7878ff; }
+    a:visited { color: #6464fa; }
+}
+</style>
+<pre>
+all possible categories <a href="https://arxiv.org/category_taxonomy">here</a>
+examples:
+{% for i in taxonomy %}
+  <a href='/{{ i }}'>{{ i }}</a>
+{% endfor %}
+</html>