summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-25 15:14:42 +0100
committera73x <[email protected]>2024-08-25 15:14:42 +0100
commit1b496432df1dc28b25eaeadec5fa537aaf014f98 (patch)
tree5d74e20a338c6487302693bc837afc27904ee3ab /templates/layouts
parentfea0ef77c8c98dfadd2f9d29804653293fd31c99 (diff)
feat(post): templating
add templating for posts and first post
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html3
-rw-r--r--templates/layouts/header.html5
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/layouts/default.html b/templates/layouts/default.html
index cfb0c17..5c8bf64 100644
--- a/templates/layouts/default.html
+++ b/templates/layouts/default.html
@@ -12,12 +12,13 @@
<style>
@font-face {
font-family: 'Mono';
- src: url('./static/V1-ServerMono-Regular.woff2') format('woff2');
+ src: url('/static/V1-ServerMono-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
body {
+ max-width: 70ch;
font-family: "Mono";
}
diff --git a/templates/layouts/header.html b/templates/layouts/header.html
index be02def..f1d2d18 100644
--- a/templates/layouts/header.html
+++ b/templates/layouts/header.html
@@ -1,8 +1,7 @@
-<!-- templates/header.html -->
<h1>a73x</h1>
<nav>
<ul>
- <li><a href="/">Home</a></li>
- <li><a href="/posts">Posts</a></li>
+ <li><a href="/">home</a></li>
+ <li><a href="/posts.html">posts</a></li>
</ul>
</nav>