Manually changing date in page front matter stops page from being rendered

the dates/times on my hugo generated pages were wrong, so i manually altered the page front matters, and this prevents the pages from being rendered,

the output of hugo will go from:

Output:
Pages: 1805

to

Pages: 1804

i am in the process of fixing the auto generation of the times in posts.

===

i have a related issue - i cannot manually create a markdown file and stick it in /content, i seem to always need to run ‘hugo new’ in order to have hugo recognise my new pages

the git for my site is

and mysite is https://bootlicker.party

1 Like

I tried to test it out, but your theme isn’t included.

In lieu of that, my next suggestion would be to start a new Hugo project and see if it works as you expect, with rendering the site and adding pages. If a simple project is working, then you can determine if it is your computer or the project or something else.

This is happening for me as well. I’m using the standard Beautiful Hugo theme with no modifications since its clone about a week ago (see: https://github.com/halogenica/beautifulhugo).

Anyone got ideas?

Please read Requesting Help and include more information.

I ran into the same issue. After poking around, I came across this in the PublishDate doc:

By default, Hugo excludes pages with future publish dates when building your site. To include future pages, use the --buildFuture command line flag.

Then I realized that my new date was in the future.

Seems like it is worth reviving this page to add some clues for others.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.