Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
contentDir parameter in config takes precedence over the same CLI flag #5662
Following the recent enforcement of the Hugo Basic Example
(Note that even though the above theme uses multilingual features this doesn't matter. I tested with other themes locally and if I enter this parameter in the Example Site
We don't quite want that anymore for the Hugo Themes website, after the recent cases of inappropriate content.
Would it be feasible to have the CLI flag take precedence over the
added a commit
Feb 1, 2019
I started adding a failing test for this, that didn't fail. And then I looked at your example. The thing is:
I need to think a little about this, but in a theme context, it would not make much sense to use the same content for each language ...