diff options
| author | Elias Haugsbakk <[email protected]> | 2026-07-01 14:05:14 +0200 |
|---|---|---|
| committer | Elias Haugsbakk <[email protected]> | 2026-07-01 14:05:14 +0200 |
| commit | c4da920843972b6571e978cdc9f9278eb87b7398 (patch) | |
| tree | f972778f7cab4e4b231f5adc7450d590fa6d0fae /clams-server/src/main/resources/templates/post.html | |
| parent | 5ed99f3c87f0337ffac03dd1e45073fbc7f63b68 (diff) | |
add HTML, CSS and basic routing
Diffstat (limited to 'clams-server/src/main/resources/templates/post.html')
| -rw-r--r-- | clams-server/src/main/resources/templates/post.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/templates/post.html b/clams-server/src/main/resources/templates/post.html new file mode 100644 index 0000000..85f8977 --- /dev/null +++ b/clams-server/src/main/resources/templates/post.html @@ -0,0 +1,38 @@ +<!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> + +<main class="main-container"> + <header class="post-header"> + <span class="post-date">{{ published_date }}</span> + <span class="post-author">{{ author }}</span> + </header> + + <h1>{{ title }}</h1> + + <article class="post-content"> + {{ content | raw }} + </article> + + <nav class="post-nav"> + {{ previous_post_link | raw }} + {{ 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> |
