Closed skalee closed 4 years ago
Let's only use the latter, not sure if we need the former (it was only used so that we can generate those formats when we didn't have the latter).
The former is how you normally define document collections in Jekyll. May be potentially useful to define other settings in future (e.g. permalinks). And finally, these collections must be defined somewhere (here or maybe in hooks), otherwise site won't generate. This is why I haven't made my mind yet. Also, it's probably quite unimportant for now, but it's good to keep an open issue for that.
@skalee at this point it would be easiest for the user to use the geolexica YAML format; the less configuration needed by the user to start, the better.
The more I think about this, the more apparent is that separate collections for various output formats are more a maintenance issue than a feature. There should be one collection geolexica_concepts
, if any, which should not require any configuration.
Therefore yes, geolexica
-> formats
is probably a better idea.
Excellent :-)
In
_config.yml
, both:and:
probably serve the same purpose, that is defining which concept formats should be rendered and which should not. This should be cleaned-up. Personally, I prefer the latter for conciseness, but on the other hand the former may be easier in Jekyll and perhaps it can be used to configure more things.
Something to think about.