|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
<div class="card" style="border-color: {categories.bgColor}">
|
|
|
|
|
<!-- BEGIN posts -->
|
|
|
|
|
<!-- IF @first -->
|
|
|
|
|
<div component="category/posts">
|
|
|
|
|
<p>
|
|
|
|
|
<strong>{categories.posts.user.username}</strong>
|
|
|
|
|
<a class="permalink" href="{relative_path}/topic/{categories.posts.topic.slug}<!-- IF categories.posts.index -->/{categories.posts.index}<!-- ENDIF categories.posts.index -->">
|
|
|
|
@ -10,12 +11,15 @@
|
|
|
|
|
<div class="post-content">
|
|
|
|
|
{categories.posts.content}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF @first -->
|
|
|
|
|
<!-- END posts -->
|
|
|
|
|
|
|
|
|
|
<!-- IF !posts.length -->
|
|
|
|
|
<div component="category/posts">
|
|
|
|
|
<div class="post-content">
|
|
|
|
|
No new posts.
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- ENDIF !posts.length -->
|
|
|
|
|
</div>
|