My blog won't execute 'hugo' or 'hugo server' commands

I’m currently working on my blog, using theme ‘hugo-theme-itheme’

When I enter hugo server

I get this:

Start building sites … 
hugo v0.101.0+extended linux/amd64 BuildDate=unknown
Error: Error building site: failed to render pages: render of "page" failed: "/home/user/blog/themes/hugo-theme-itheme/layouts/_default/single.html:19:82": execute of template failed: template: _default/single.html:19:82: executing "main" at <time.Format>: error calling Format: unable to cast <nil> of type <nil> to Time
Built in 50 ms

No idea why it’s doing that because last time I fired it up the blog loaded fine.
Anyway here is the git repo to the theme if it helps.

Post a link to your sites repo and we might be able to find the issue.

sorry sorry nevermind. I created a new blog page by created a md file instead of hugo new

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