summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
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>