diff options
| author | a73x <[email protected]> | 2024-08-25 15:14:41 +0100 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-08-25 15:14:41 +0100 |
| commit | fea0ef77c8c98dfadd2f9d29804653293fd31c99 (patch) | |
| tree | 6dadd3062fc77d37e622838eb6b16a60e2774f4d /public/posts.html | |
| parent | 794401aaadfaa4efd91587db40439226231ff303 (diff) | |
feat: add templating
Diffstat (limited to 'public/posts.html')
| -rw-r--r-- | public/posts.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/public/posts.html b/public/posts.html new file mode 100644 index 0000000..b63f4da --- /dev/null +++ b/public/posts.html @@ -0,0 +1,59 @@ + +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="description" content="Home for a73x" /> + <meta name="author" content="a73x" /> + <meta name="viewport" + content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" /> + <title>a73x</title> + <style> + @font-face { + font-family: 'Mono'; + src: url('./static/V1-ServerMono-Regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + } + + body { + font-family: "Mono"; + } + + code { + font-family: "Mono"; + color: crimson; + background-color: #f1f1f1; + padding: 2px; + } + + nav ul { + display: flex; + list-style: none; + } + + nav ul li { + margin-right: 20px; + } + </style> +</head> + +<body> + <!-- templates/header.html --> +<h1>a73x</h1> +<nav> + <ul> + <li><a href="/">Home</a></li> + <li><a href="/posts">Posts</a></li> + </ul> +</nav> + + +<h1>Posts</h1> + +</body> + +</html> + + |
