summary refs log tree commit diff
path: root/templates/index.html
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-09-08 16:17:11 +0300
committertzlil <tzlils@protonmail.com>2023-09-08 16:17:11 +0300
commit38cbd10ba1f7c7c0a94444c05e1cc12bab3177ab (patch)
treecd48971bedd6a5a93605325411d9eb15d5a0db02 /templates/index.html
initial commit
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>