diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 26 |
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> · + <span><a href="/best/">Best</a></span> · + <span><a href="/new/">New</a></span> · + <span><a href="/ask/">Ask</a></span> · + <span><a href="/show/">Show</a></span> · + <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 |
