I am running Ghost(Pro) which is on v4.8.4.
What I am trying to accomplish on the front page is have two sections:
- Featured Posts: pulls the most recent 3 featured posts
- Latest Posts: pulls the most recent 8 posts, followed by a “show more posts” button which dynamically pulls the next set of 8 posts.
This is easy to do in and of itself, so no issues with the above basic logic.
Essentially using the following to accomplish the basics:
<h2>Featured Posts</h2>
{{#get "posts" limit="3" include="tags,authors" filter="featured:true"}}
{{#foreach posts}}
{{> post-item}}
{{/foreach}}
{{/get}}
<h2>Latest Posts</h2>
{{#foreach posts}}
{{> post-item}}
{{/foreach}}
What I would like to do, if it is possible, is not have any of the posts showing in Featured Posts also be displayed in the Latest Posts block. The above method results in duplicate posts, which I guess is fine in the grand scheme, but I would prefer to hide the posts if this is possible.
Surely I am missing something super simple and easy? I checked the docs but cannot really find anything useful to help solve this problem.