This is probably an easy solution. On my index page, I’m wanting to show all posts except a “Preview” and “Featured” category. I am only seeing where the where
filter is additive, not subtractive.
Here is the for loop currently:
<div class="cf frame">
{% for post in paginator.posts %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting" role="article">
<div class="article-item">
<header class="post-header">
<h2 class="post-title" itemprop="name"><a href="{{ post.url }}" itemprop="url">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt" itemprop="description">
<p>{{ post.content | split:'<!-- break -->' | first | strip_html }}</p>
<a href="{{ post.url }}" itemprop="url">Continue reading...</a><br><br>
</section>
</div>
</article>
{% endfor %}
</div>
Thanks in advance for any help!
Ryan