Closed gallo-s-chingon closed 6 months ago
By default future
only applies to the built-in _posts
collection. Since you've created your own _blog
collection, it's no longer governed by that setting.
If you want to go any more into this question, it's about Jekyll and not this theme.
What happened?
Expected behavior
on my website sucias.xyz/blog I expect future blog posts to not show up in the grid. however, the excerpt, teaser and link are visible. when clicked I get a 404 error page. So technically the page isn't displaying (as expected) however, I don't think the link/teaser/excerpt should be visible in the collection/grid/layout (sucias.xyz/blog) page.
also TOC isn't working in collection posts
Steps to reproduce the behavior
generated/forked minimal-mistakes theme from starter. have edited/used the theme for over a year, recently decided to post future blog posts with a youtube embed, because I can get the link when it's scheduled in the future. Vs having to wait for spotify to post podcast episode, remember to create a post and rush once episode is live.
So I hadn't used future posts before and noticed this quirk now that I have to future posts pending.
Other
here is the current config where
future: false
on line 32.today's date is 29 JUL 2022, two blog posts are dated 2022-08-02 and 2022-08-09, titles, teaser img and excerpt are visible on https://sucias.xyz/blog. (reverse order) so the top two posts (at the time of this issue) shouldn't be visible. _pages/blog.md also has
future: false
set in front matter and have tried/tested on desktop and mobile with and withoutfuture: false
set in front matter, and with/out in_config.yml
in all cases (allowing 5 mins between each page refresh) future posts are visible in url/blog