summary refs log tree commit diff
path: root/templates/topic.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/topic.html')
-rw-r--r--templates/topic.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/topic.html b/templates/topic.html
new file mode 100644
index 0000000..b8c9d2c
--- /dev/null
+++ b/templates/topic.html
@@ -0,0 +1,30 @@
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width">
+<title>arXiv randomizer</title>
+<style>
+@media (prefers-color-scheme: dark) {
+    body { background-color: #121212; color: #d4d4d4; }
+    a { color: #7878ff; }
+    a:visited { color: #6464fa; }
+}
+</style>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+<script>
+MathJax = {
+  tex: {
+    inlineMath: [['$', '$'], ['\\(', '\\)']]
+  }
+};
+</script>
+<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+</head>
+
+<body>
+	<h1>{{title}}</h1>
+	<h2>{{description}}</h2>
+	<a href="{{link}}">{{link}}</a>
+</body>
+</html>
+