Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'TODO' in file name causes error when generating files #6249

cobratbq opened this issue Aug 19, 2019 · 2 comments


Copy link

commented Aug 19, 2019

The word 'TODO' in the file name causes generation to fail with an error. The error itself is rather obscure, as I believe it does not demonstrate the actual error that is reported.

➜  site git:(master) ✗ hugo version
Hugo Static Site Generator v0.57.2-A849CB2D linux/amd64 BuildDate: 2019-08-17T17:54:13Z
➜  site git:(master) ✗ hugo
Total in 102 ms
Error: Error building site: no Path provided by map[classifier:zcontent filename:/home/user/dev/site/content/ fs:0xc000473380 isOrdered:false lang:en mountWeight:2 opener:0xb54480 ordinal:0 translationBaseName:TODO translations:[en] watch:true weight:0] (*hugofs.RootMappingFs)
➜  site git:(master) ✗ git mv content/ content/
➜  site git:(master) ✗ hugo

                   | EN   
  Pages            | 174  
  Paginator pages  |   0  
  Non-page files   |   0  
  Static files     |  22  
  Processed images |   0  
  Aliases          |   0  
  Sitemaps         |   1  
  Cleaned          |   0  

Total in 105 ms

System: Fedora 30 linux.
Let me know if you need anything more.

@bep bep added the Bug label Aug 19, 2019

@bep bep added this to the v0.57.3 milestone Aug 19, 2019


This comment has been minimized.

Copy link

commented Aug 19, 2019

I added a debug conditional in there while developing this, and matched on ... TODO so I should remember to remove it.


This comment has been minimized.

Copy link

commented Aug 19, 2019

@bep bep closed this in ad1d6d6 Aug 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.