I just shifted my site to make room for multilingual content. The problem I am now having is that links that go between pages are no longer working. Here’s the rendering error:
hugo
Building sites … ERROR 2019/02/06 14:54:53 [en] REF_NOT_FOUND: Ref "/glossary/vocabulary": "..snip../content/en-us/designs/gateway/_index.md:10:12": page not found
ERROR 2019/02/06 14:54:53 [en] REF_NOT_FOUND: Ref "/glossary/vocabulary": "..snip../content/en-us/designs/gateway/_index.md:22:159": page not found
Total in 385 ms
Error: Error building site: logged 2 error(s)
ARGH! I believe the reason this was not working and complaining with a REF_NOT_FOUND error is because the link target is a draft. I just tried this command: hugo --buildDrafts -v and the build worked! Sure would be better if there was some sort of suggestion in the Error message, like “maybe REF is a draft?”
Developers used to put abend / reason codes into their messages so one could look up in detail what each error meant with possible fixes. I really miss them.