alamb opened a new pull request, #207:
URL: https://github.com/apache/parquet-site/pull/207

   # Which issue does this PR close?
   
   N/A
   
   # Rationale for this change
   
   When a blog post is written ahead of time with a future `date` in its front
   matter, Hugo leaves it out of the build entirely, so there is no way to 
preview
   it locally before its publication date.
   
   # What changes are included in this PR?
   
   Adds `config/development/hugo.toml`, which Hugo merges on top of the root
   `hugo.toml` for the `development` environment (the environment `hugo server`
   uses), setting `buildFuture = true`. The production build run by the deploy
   workflow (`hugo --minify`) is unaffected, so future dated content is still 
kept
   off the published site until its date arrives.
   
   Also documents the behavior in the README.
   
   # Are these changes tested?
   
   Manually: with a temporary post dated in the future added to
   `content/en/blog/features/`, `hugo --environment development` renders it and
   `hugo` (production) does not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to