diff options
| author | Elias Haugsbakk <[email protected]> | 2026-07-22 14:14:24 +0200 |
|---|---|---|
| committer | Elias Haugsbakk <[email protected]> | 2026-07-22 14:14:24 +0200 |
| commit | 5ac83efd59ab85d0bdf82d5847fe9fe0b11232d9 (patch) | |
| tree | d45dde720f638853695940b79a6eb6a2d978ded8 /clams-server/src/main/resources/templates/post.html | |
| parent | 8d86458282efae6c3fc26ab8fb4bd61d1a4e01e3 (diff) | |
update article to post on the backend and blog on the frontend
Diffstat (limited to 'clams-server/src/main/resources/templates/post.html')
| -rw-r--r-- | clams-server/src/main/resources/templates/post.html | 19 |
1 files changed, 19 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..d20bda6 --- /dev/null +++ b/clams-server/src/main/resources/templates/post.html @@ -0,0 +1,19 @@ +{% extends "templates/layout.html" %} + +{% block content %} +<main class="main-container"> + <a href="/posts" class="back-link-top">← back</a> + <header class="post-header"> + <span class="post-date">{{ published_date }}</span> + <span class="post-author">{{ author }}</span> + </header> + + <post class="post-content"> + {{ content | raw }} + </post> + + <nav class="post-nav"> + {{ back_to_index | raw }} + </nav> +</main> +{% endblock %} |
