summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-01-07 20:18:27 -0600
committerChristian Cleberg <[email protected]>2026-01-07 20:18:27 -0600
commit01bd81cf3f943b4aff4e79f93910ab764a873548 (patch)
tree1890dfbf76a205a4e3cb47f29aa0528468883b5d /templates
parent2fd901458c8da24fd0e28d4b07a99d3f4876316f (diff)
downloadhn-01bd81cf3f943b4aff4e79f93910ab764a873548.tar.gz
hn-01bd81cf3f943b4aff4e79f93910ab764a873548.tar.bz2
hn-01bd81cf3f943b4aff4e79f93910ab764a873548.zip
MASSIVE UPDATE TO PYTHON STATIC SERVICE
Diffstat (limited to 'templates')
-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