fix post sorting
This commit is contained in:
parent
892fb67976
commit
7455dc8fd0
1 changed files with 11 additions and 11 deletions
|
@ -35,17 +35,17 @@
|
||||||
<label for="sort-name">name</label>
|
<label for="sort-name">name</label>
|
||||||
</form>
|
</form>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each posts}}
|
<div id="posts">
|
||||||
<div id="posts">
|
{{#each posts}}
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<a href="/posts/{{name}}"><b>{{title}}</b></a>
|
<a href="/posts/{{name}}"><b>{{title}}</b></a>
|
||||||
<span class="post-author">- by {{author}}</span>
|
<span class="post-author">- by {{author}}</span>
|
||||||
<br />
|
<br />
|
||||||
{{description}}<br />
|
{{description}}<br />
|
||||||
{{>post_table post style=@root.style}}
|
{{>post_table post style=@root.style}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{else}} there are no posts right now. check back later! {{/each}}
|
||||||
{{else}} there are no posts right now. check back later! {{/each}}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if (gt (len tags) 0)}}
|
{{#if (gt (len tags) 0)}}
|
||||||
|
|
Loading…
Reference in a new issue