Oh, I think I was able to nail down what causes this behavior!
My content folder has a soft-link, called articles, which leads to a separate git repo with *.md files. With Hugo version v0.115.3, this set-up worked fine. But with Hugo v0.154.2, soft-links are not allowed anymore (I believe due to security reasons), and I had to replace my soft-links in content by modules in the Hugo config. Thus, the updated config.toml looks like this,
[module]
[[module.mounts]]
source = ‘../myarticles-data/articles’
target = ‘content/articles’
With Hugo v0.154.2, the new set-up works for the article posts from the source folder, yet it breaks generation of static pages from content (e.g., /content/about.md, /content/contact.md). As you can see, target parameter contains word ‘content‘ and this, I believe, prevents static pages from being produced.
If ‘content‘ is replaced, say, by ‘static‘, namely
target = ‘static/articles’
then static pages are being indeed generated. But, this obviously prevents then the article pages being produced.
As I said, my old set-up worked before because soft-links in the content were allowed. Now, I believe I just need to figure a better way of incorporating articles, a standalone git repo with .md files, into content folder. Could you please give me some hints about what’ is the recommended way of doing that now?
@razor , thank for the suggestion to remove ‘public‘ directory. It helped me immensely to debug the code. Before that, I was just getting blank screen in the browser somehow.