fix: hide entire toolbar row if no posts or not singlePost

This commit is contained in:
Julian Lam
2023-02-02 15:33:27 -05:00
parent a302d68d9d
commit df54a99832

View File

@@ -1,6 +1,7 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
{{{ if (!singlePost && posts.length) }}}
<div class="btn-toolbar justify-content-end">
{{{ if (!singlePost && posts.length) }}}
<div class="me-2">
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
</div>
@@ -21,9 +22,11 @@
{{{ end }}}
</ul>
</div>
{{{ end }}}
</div>
<hr/>
{{{ end }}}
<div class="row">
<div class="col-12">
<div class="post-queue preventSlideout posts-list">