aboutsummaryrefslogtreecommitdiffstats
path: root/templates/home.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2026-01-01 22:11:02 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2026-01-01 22:16:58 +0100
commit324794a9e8d60c9e187dd8c24f9cae076e933142 (patch)
tree48cf25db9a79af578a338100d1ce44203f0db627 /templates/home.html
parent7c14130b61d806b42e7c0d1c8cf846b964caadff (diff)
downloadblossom-324794a9e8d60c9e187dd8c24f9cae076e933142.tar.gz
blossom-324794a9e8d60c9e187dd8c24f9cae076e933142.tar.bz2
blossom-324794a9e8d60c9e187dd8c24f9cae076e933142.zip
new home feed
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/home.html b/templates/home.html
index d8efc3e..95e614c 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -28,7 +28,18 @@
{% block content %}
-<div class="panel content">
+{% for post in feed %}
+{% match post %}
+{% when HomeFeedItem::Blogpost(blogpost) %}
+{% include "blogpost-panel.html" %}
+{% when HomeFeedItem::Poem(poem) %}
+{% include "poem-panel.html" %}
+{% endmatch %}
+{% endfor %}
+
+<div class="home-feed-footer">
+ <div class="panel"><a href="/blog">More blogposts...</a></div>
+ <div class="panel"><a href="/poetry">More poetry...</a></div>
</div>
{% endblock content %}