feat: Add devlog timeline of related posts to project page #141
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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">📄</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 %}
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user