Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List ignored posts in "middleman build" output #248

Closed
hbons opened this issue Apr 14, 2015 · 4 comments
Closed

List ignored posts in "middleman build" output #248

hbons opened this issue Apr 14, 2015 · 4 comments
Labels

Comments

@hbons
Copy link

hbons commented Apr 14, 2015

When building, Middleman seems to ignore posts that are in the future. Whilst this is a useful feature, I just spent an hour scratching my head why my post wouldn't build, due to getting the date wrong by a day. There's no way to discover this when you don't know about this feature.

I found this out by stumbling upon this post: https://forum.middlemanapp.com/t/for-some-reason-middleman-is-not-building-pages-for-newly-added-markdown-files/1549. So I'm not the first running into this.

It would be nice if middleman showed the skipped posts (and reason) in the middleman build output.

cc/ @garrett

@tdreyno
Copy link
Member

tdreyno commented Apr 14, 2015

Thanks.

@taf2
Copy link

taf2 commented Jun 6, 2015

There should be away to override this feature. For example, if you wanted to use the blogging feature to support upcoming events list... you would want to build posts for the future.

@taf2
Copy link

taf2 commented Jun 6, 2015

In case anyone else comes to this issue looking for a solution to the same issue here is the solution at least for a events like blog that posts future things:

activate :blog do |blog|
  blog.name = "events"
  blog.prefix = "events"
  blog.publish_future_dated = true
end

@iwarner
Copy link
Contributor

iwarner commented Mar 23, 2017

Thanks for adding the context - closing

@iwarner iwarner closed this as completed Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants