You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe we can add a filter to check if the content is also meant to be published now or in the future?
publicfunctionisGeneratable()
{
// if ($this->content->date && $this->content->date()->isFuture()) return false;return$this->content->published();
}
But I'm not sure if we need additional checks to see if the content is an Entry, and not a page, taxonomy, whatever collection type that doesn't have a date.
The text was updated successfully, but these errors were encountered:
I just got an error on my site because SSG tried to publish a news article that was set to be published later on.
I see there is a filter to check if the page is published:
Maybe we can add a filter to check if the content is also meant to be published now or in the future?
But I'm not sure if we need additional checks to see if the content is an Entry, and not a page, taxonomy, whatever collection type that doesn't have a date.
The text was updated successfully, but these errors were encountered: