summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates/blog.html
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-21 17:46:06 +0200
committerElias Haugsbakk <[email protected]>2026-07-21 17:46:06 +0200
commit12fd8a8581e68ee1b261fd0b2b1f0ef179ea3cf1 (patch)
tree032de34d372076de0e45694c3ad0a2095b65cf3c /clams-server/src/main/resources/templates/blog.html
parent022033a9a0112f1fbdf56a4b51d925e623105c54 (diff)
remove the featured section of the blog page
Diffstat (limited to 'clams-server/src/main/resources/templates/blog.html')
-rw-r--r--clams-server/src/main/resources/templates/blog.html44
1 files changed, 13 insertions, 31 deletions
diff --git a/clams-server/src/main/resources/templates/blog.html b/clams-server/src/main/resources/templates/blog.html
index 2c484a1..c4dbdad 100644
--- a/clams-server/src/main/resources/templates/blog.html
+++ b/clams-server/src/main/resources/templates/blog.html
@@ -4,8 +4,7 @@
<main class="main-container">
<header>
<h1>Elias Haugsbakk's Blog</h1>
- <p class="intro-text">This is the home page for my blog. The featured list is a diverse collection of some
- of my writings; if you're just browsing, this might be a good place to start.</p>
+ <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..."
@@ -14,35 +13,18 @@
</form>
</header>
- <div class="content-grid">
- <div class="left-column">
- <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>
+ <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 %}
- </section>
- </div>
-
- <div class="right-column">
- <section id="recent" class="blog-section">
- <h2>Featured</h2>
- <ul class="recent-list">
- {% for post in featured_posts %}
- <li>
- <a href="/blog/{{ post.slug }}">{{ post.title }}</a> <span class="featured-desc">-- {{ post.summary }}</span>
- </li>
- {% endfor %}
- </ul>
- </section>
- </div>
- </div>
+ </ul>
+ </details>
+ {% endfor %}
+ </section>
</main>
{% endblock %}