i had collections set up so that posts with a particular primary-tag appeared on one page and posts with that tag (or any tag) appeared on the home page. In order to get posts marked “featured” to appear at the top of their collections, I changed index.hbs from
<main id="site-main" class="site-main outer">
<div class="inner posts">
<div class="post-feed">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>
</main>
to
<main id="site-main" class="site-main outer">
<div class="inner posts">
<div class="post-feed">
{{#get "posts" filter="featured:true" limit="all" as |features paged|}}
{{#foreach features}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
{{/get}}
{{#get "posts" filter="featured:false" limit="all" as |notfeatures paged|}}
{{#foreach notfeatures}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
{{/get}}
</div>
</div>
</main>
That worked, in that the featured posts appeared first, but it broke the collections. All posts for home and dickson appeared on both pages. Somehow this change screwed up routes.yaml.
Any ideas?