我想在我的 CSS 网格中显示我没有特色的帖子。我已经 featured = false
在我的 squarespace 查询中尝试了该参数,但它没有用。
我发现这篇文章有类似的问题:http ://answers.squarespace.com/questions/18544/i-have-a-query-and-my-list-on-the-same-page-i-need-the-两个地方都不能有的物品
我尝试了不同的解决方案....
<squarespace:query collection="blog" limit="4" featured="false">
{.repeated section items}
{.if starred}
<!-- skip featured items -->
{.or}
<div class="col-1-3">
<div class="module-container">
{.main-image?}
<a href="{fullUrl}">
<img {@|image-meta} />
</a>
{.end}
<div class="caption-container">
<small>{categories}</small>
<a href="{fullUrl}><h2 class="caption">{title}</h2</a>
</div>
</div>
</div>
{.end}
{.end}
但是......即使我提出{.if starred}
声明......需要在那之后我的查询已被限制为帖子总数,因此它不会显示限制数量,但更少的因为计算我不想要的精选帖子显示。
有什么提示吗?