Mediumish-go-hugo theme yelds empty home page


I am trying to migrate a site that was still using a ~3/4 years old version of Hugo and the Mediumish-Go-Theme to the current version of that theme, and hugo v0.92.2+extended linux/amd64, on Ubuntu 22.04 LTS.

The top pages are generated properly, as well as the single posts.

But the home page lists NO posts, and no pagination is generated, that is there are no folders like page/2, page/3 etc…

The only warnings in the log file, even with the debug and verbose options, are:

WARNING: calling IsSet with unsupported type “string” (string) will always return false.

WARNING: calling IsSet with unsupported type “invalid” () will always return false.

and warnings that the tweet shortcode will soon stop working, from rendering the 2/3 posts that use it. But as far as I can see, that function IsSet is not used in the theme at all, or anywhere else in the site source files for that matter.

What’s happening, and how to fix it?


You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

I know that very well. But I cannot do it in this case, it’s not my decision.

adding to my previous answer:

as I said, I cannot share the actual content until the site works again. But I surely can share all the other files (theme, partials, shortcodes etc… WHAT ELSE???). Would that help?


This one.

1 Like