Tzion
March 27, 2022, 5:30pm
1
Hi, apparently my public folder not updating the newest content.
I create a post with hugo new posts/mypost.md
.
Put some content into mypost.md
hugo -t m10c
, i use m10c theme. the output is always the same:
public folder not updating with newest content, why is that happen?
Please post the front matter from your new content.
2 Likes
Tzion
March 28, 2022, 3:45am
3
I’m not sure why, it suddenly worked today, the programming rumor is true Thanks again !
Tzion:
it suddenly worked today
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.
1 Like