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

Closed
cobratbq opened this issue Aug 19, 2019 · 3 comments
Closed

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

cobratbq opened this issue Aug 19, 2019 · 3 comments

Comments

@cobratbq
Copy link

cobratbq 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/TODO.md fs:0xc000473380 isOrdered:false lang:en mountWeight:2 name:TODO.md opener:0xb54480 ordinal:0 path:TODO.md pathWalk:TODO.md translationBaseName:TODO translationBaseNameWithExt:TODO.md translations:[en] watch:true weight:0] (*hugofs.RootMappingFs)
➜  site git:(master) ✗ git mv content/TODO.md content/TO-DO.md
➜  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
@bep
Copy link
Member

bep 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.

@cobratbq
Copy link
Author

cobratbq commented Aug 19, 2019 via email

@bep bep closed this as completed in ad1d6d6 Aug 23, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants