feat: Add devlog timeline of related posts to project page #141

Merged
typosaurus merged 4 commits from typosaurus/135-add-devlog-timeline-of-related-posts-to-project-page into master 2026-07-27 00:52:08 +02:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit dbe1e2670b - Show all commits

View File

@ -305,6 +305,10 @@
margin-bottom: 1.5rem;
}
.project-devlog {
margin-top: 1.5rem;
}
.project-section-label {
font-size: 0.75rem;
font-weight: 700;
@ -313,3 +317,4 @@
color: var(--text-muted);
margin-bottom: 0.5rem;
}

View File

@ -108,11 +108,7 @@
{% for item in devlog_posts %}
{% set _author = item.author %}{% set _time = item.time_ago %}{% set _show_share = false %}{% set _show_comment_form = false %}{% include "_post_card.html" %}
{% endfor %}
{% if devlog_next_cursor %}
<div class="devlog-footer" style="padding-top: 1rem; text-align: center;">
<a href="?before={{ devlog_next_cursor }}" class="btn btn-secondary btn-sm"><span class="icon">&#x1F4C4;</span> Load More</a>
</div>
{% endif %}
{% set next_cursor = devlog_next_cursor %}{% include "_load_more.html" %}
{% else %}
<p class="empty-state">No devlog posts yet.</p>
{% endif %}
@ -202,3 +198,4 @@ if (actions) {
{% endblock %}