fix post sorting

This commit is contained in:
slonkazoid 2024-12-16 21:40:56 +03:00
parent 892fb67976
commit 7455dc8fd0
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -35,17 +35,17 @@
<label for="sort-name">name</label>
</form>
{{/if}}
{{#each posts}}
<div id="posts">
<div class="post">
<a href="/posts/{{name}}"><b>{{title}}</b></a>
<span class="post-author">- by {{author}}</span>
<br />
{{description}}<br />
{{>post_table post style=@root.style}}
</div>
</div>
{{else}} there are no posts right now. check back later! {{/each}}
<div id="posts">
{{#each posts}}
<div class="post">
<a href="/posts/{{name}}"><b>{{title}}</b></a>
<span class="post-author">- by {{author}}</span>
<br />
{{description}}<br />
{{>post_table post style=@root.style}}
</div>
{{else}} there are no posts right now. check back later! {{/each}}
</div>
</div>
{{#if (gt (len tags) 0)}}