-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add additional hugo options? #36
Comments
aha. It would appear you have this here? https://github.com/jojomi/docker-hugo/blob/master/run.sh#L10 |
Yes, that should already work because of the line you spotted. Would you mind testing it and reporting if it works? If it does, you could close this issue :). |
I’ll give it a try. The issue I’m running into is is that for theme testing I need to run inside |
I think that my docker-fu is failing me. I'm not sure where to pass the arguments - any ideas? |
It would be quite helpful to be able to pass additional arguments to the
hugo
command - for example, in my tests, I have various config files that I want to test my theme against, and I pass the config file as an argument (i.e.,--config config-blue-grid.toml
)I can probably add a PR to add this functionality, but wondering the thoughts on this? What might be easier is instead of trying to think of all the options, have an environment variable for "additional arguments" that is a string where you can list them.
The text was updated successfully, but these errors were encountered: