Staging sites will have a slightly different configuration. A good example is url setting which is used to build absolute URLs. For example, TC211 site has the url set to https://isotc211.geolexica.org/, but it is only valid for production site, whereas for staging site it should be https://isotc211-staging.geolexica.org/.
One way to fix that is to define a separate configuration for staging site and provide it via CLI parameter, for example:
Staging sites will have a slightly different configuration. A good example is
url
setting which is used to build absolute URLs. For example, TC211 site has theurl
set tohttps://isotc211.geolexica.org/
, but it is only valid for production site, whereas for staging site it should behttps://isotc211-staging.geolexica.org/
.One way to fix that is to define a separate configuration for staging site and provide it via CLI parameter, for example:
which means that both configuration files should be merged in a way that the latter takes precedence (see Jekyll docs).