summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates/post.html
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-01 21:18:58 +0200
committerElias Haugsbakk <[email protected]>2026-07-02 00:11:30 +0200
commit19c9cb227b343377853321e2cdc4285b2ea23e3a (patch)
tree697b1784c0e50b7d84a0ef8dcf2cfbba8e4357bc /clams-server/src/main/resources/templates/post.html
parent5b1e3672a1e6d9f7b54ed4267e8715f5dc3bb55a (diff)
implement blog index page with featured and all posts
Diffstat (limited to 'clams-server/src/main/resources/templates/post.html')
-rw-r--r--clams-server/src/main/resources/templates/post.html23
1 files changed, 3 insertions, 20 deletions
diff --git a/clams-server/src/main/resources/templates/post.html b/clams-server/src/main/resources/templates/post.html
index 85f8977..40444b2 100644
--- a/clams-server/src/main/resources/templates/post.html
+++ b/clams-server/src/main/resources/templates/post.html
@@ -1,13 +1,6 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="UTF-8">
- <title>{{ title }} - Elias Haugsbakk</title>
- <link rel="stylesheet" href="/css/common.css">
- <link rel="stylesheet" href="/css/post.css">
-</head>
-<body>
+{% extends "templates/layout.html" %}
+{% block content %}
<main class="main-container">
<header class="post-header">
<span class="post-date">{{ published_date }}</span>
@@ -25,14 +18,4 @@
{{ next_post_link | raw }}
</nav>
</main>
-
-<footer>
- <p>
- <span class="footer-left"><a href="/">eliashaugsbakk.xyz</a></span>
- <span class="footer-separator">|</span>
- <span class="footer-right"><a href="mailto:[email protected]">[email protected]</a></span>
- </p>
-</footer>
-
-</body>
-</html>
+{% endblock %}