summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..d882f00
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{title}}</title>
+</head>
+<body>
+<nav>
+ <span><a href="/">Top</a></span> &middot;
+ <span><a href="/best/">Best</a></span> &middot;
+ <span><a href="/new/">New</a></span> &middot;
+ <span><a href="/ask/">Ask</a></span> &middot;
+ <span><a href="/show/">Show</a></span> &middot;
+ <span><a href="/job/">Job</a></span>
+</nav>
+<h1>{{title}}</h1>
+<ul>
+{{items}}
+</ul>
+<footer>
+ <a href="https://git.cleberg.net/hn.git">source code</a>
+ <br><span>{{build}}</span>
+</footer>
+</body>
+</html> \ No newline at end of file