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
Supress "missing static" ERROR when static exists in theme #2311
Comments
I think you currently need a /static folder even if it is empty. So if your files iive in the theme, just create a dummy /static (with a .gitkeep file or something) in the root. We should fix this. There is no real reason the static is required (at least one static folder is requred, I guess ...) |
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. |
After uploading a hugo site to a repo someone who cloned it ran
hugo server -w
and got this errorERROR: 2016/07/28 23:33:38 hugo.go:637: Walker: lstat /Users/.../testhugo/static: no such file or directory
It was because I did not include the root level
static
folder in the repo. The theme however has a static folder which is where all the static assets live. Should I be placing static assets into the root static folder and not within the theme static folder?I do not have a root level
archetypes
and got no errors about it. What's the reason the static folder is required?The text was updated successfully, but these errors were encountered: