There’s something I don’t quite understand about rendering a Hugo site. If I run the ‘hugo’ command for a test site, I get this output:
2 of 2 drafts rendered
0 future content
0 expired content
3 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
I noticed that it mentions ‘3 regular pages created’, even when these pages are not actually created. In this case, I didn’t have a layouts/blog
folder, so my content/blog
pages where not created. I didn’t understand why the pages where not created, since Hugo told me they were. If I then finally spot the error, and created a layouts/blog/single.html
page. This of course fixed the problem. I know, it’s probably a newbie thing.
But, then again, why is the Hugo -D
output the same?
2 of 2 drafts rendered
0 future content
0 expired content
3 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
Shouldn’t it say ‘0 regular pages created’ and, perhaps even better, mention that a corresponding layout wasn’t found for some content? That would be useful, I think. Or maybe I’m misssing something here.