summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates/blog.html
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-21 22:54:08 +0200
committerElias Haugsbakk <[email protected]>2026-07-21 22:59:57 +0200
commite36f49c7d90bed4b8c2e3edb1225ca1b9720da4d (patch)
tree04e2752f5bcd70054ba007a7e58d85dc9d8e62c5 /clams-server/src/main/resources/templates/blog.html
parentae5f5b3c0b3c4af6b842f3ccd95bfe0607ac0610 (diff)
swap blog and post for article
Diffstat (limited to 'clams-server/src/main/resources/templates/blog.html')
-rw-r--r--clams-server/src/main/resources/templates/blog.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/clams-server/src/main/resources/templates/blog.html b/clams-server/src/main/resources/templates/blog.html
deleted file mode 100644
index 896cf56..0000000
--- a/clams-server/src/main/resources/templates/blog.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "templates/layout.html" %}
-
-{% block content %}
-<main class="main-container">
- <a href="/" class="back-link-top">&larr; back</a>
- <header>
- <h1>Elias Haugsbakk's Blog</h1>
- <p class="intro-text">A collection of my writings and thoughts.</p>
-
- <form action="/blog" method="GET" class="search-form">
- <input type="text" name="search" value="{{ search_value }}" placeholder="Search posts..."
- aria-label="Search blog posts">
- <button type="submit">Search</button>
- </form>
- </header>
-
- <section id="all" class="blog-section">
- <h2>All Posts</h2>
- {% for group in posts_by_year %}
- <details class="year-accordion" {% if loop.first %}open{% endif %}>
- <summary class="year-toggle">{{ group.key }}</summary>
- <ul class="post-list">
- {% for post in group.value %}
- <li><a href="/blog/{{ post.slug }}">{{ post.title }}</a></li>
- {% endfor %}
- </ul>
- </details>
- {% endfor %}
- </section>
-</main>
-{% endblock %}