Hey people, I keep getting an error (7, really) that my site isn’t building correctly.
On the design page I see “Theme error: Error building site: logged 7 error(s)”. I cannot for the life of me figure out what modification that I made to the theme is causing those issues.
I’m running a customized version of Marfa wth Hugo at v0.91.
Sorry for missing this. I may need to dig in to the other log files and see what the error is. Sometimes for multiple errors Micro.blog can’t bubble up the Hugo errors into the usual place so they are visible.
Does it look like there are any actual problems with your blog when browsing it?
Hey there!
I keep seeing these errors pop up and there doesn’t appear to be a way for me to do anything about them. I made sure to update my design template as well.
Not sure if this helps, but I came across this error yesterday when I was playing around with my blog, mine said the same generic thing with (2) errors. At this point my site was still up and working fine.
I ended up removing my custom theme, removing unused plugins, and updating any leftover plugins. Then I did a full site rebuild which took down my site (it couldn’t rebuild). But the error message at that point did change in the “Account” → “Logs” area to bad YAML token in one of my posts… thankfully it also had the URL of the post
So then I went and found the post under “Posts” and it turns out one of my markdown image tags was double nested i.e. I had  ). Strange since this post was from January this year and I hadn’t seen this error before, but deleting the post did fix the error.
Not sure I’d recommend doing what I did because I can’t guarantee that the real error will surface and/or that your error is the same I had. But, depending on how many posts you have, check the markdown around images or links?
I would export the Markdown + theme. That will email you a link to a file with everything in it. You can then locally do a hugo build and see all your errors. That export gets you your markdown and all the plugins and templates locally.
On first glance it seems like the tweet embeds are causing a problem.
I’m looking into what more we can do here. I’d like to make the full Hugo log available but I’m not entirely sure where it should go. Feels like a lot to include it in the Micro.blog logs page, so maybe it could be retrieved separately.