Output-dir in config.toml

Can we have output-dir in config.toml? I use GitHub Pages and GitHub Pages support /docs folder, so I exec zola build --ouput-dir ./docs/ and just push to deploy my site. I want to set output-dir as a config instead of specifying it with a command every time.

2 Likes

I also face this issue. It would be a blessing if we could have output directory as a config variable in Zola.

cc. @keats

If someone does a PR I think it shouldn’t cause any issues.

1 Like

Thanks for your comments. I wiil prepare a PR.

1 Like

This feature is merged at https://github.com/getzola/zola/pull/1200. Thanks!

3 Likes