Hugo command not updating public folder

Hi, apparently my public folder not updating the newest content.

  1. I create a post with hugo new posts/mypost.md.

  2. Put some content into mypost.md

  3. hugo -t m10c, i use m10c theme. the output is always the same:
    image

  4. public folder not updating with newest content, why is that happen?

Please post the front matter from your new content.

2 Likes

I’m not sure why, it suddenly worked today, the programming rumor is true :slight_smile: Thanks again !

I suspect that it “suddenly worked today” because of the date value in front matter. Hugo does not publish content with future dates unless you use the -F option.