Is it possible to pass a param in the hugo
command?
For instance, I want a param cssFile
to have diferent values according to what I want when building, so I pass it as an argument on the command.
Is it possible to pass a param in the hugo
command?
For instance, I want a param cssFile
to have diferent values according to what I want when building, so I pass it as an argument on the command.
You can set them via environment variables, e.g.
HUGO_PARAMS_FOO=bar hugo
See