Navigation Menu

Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Specify the default language (i.e. EN) when building the site using the build bash script #577

Conversation

neomatrix369
Copy link
Contributor

@neomatrix369 neomatrix369 commented Feb 15, 2017

Passing the _config_default.yml file to the jekyll command-line to specify a default language when building the site, using the build bash script

…ecify a default language when building the site
@neomatrix369 neomatrix369 changed the title Specify the default language (i.e. EN) when building the site Specify the default language (i.e. EN) when building the site using the build bash script Feb 15, 2017
@CoduranceBot
Copy link
Collaborator

CoduranceBot commented Feb 15, 2017

jekyll serve --incremental --watch --config _config_default.yml,_config_en.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey mani, I think what you need here is --config _config.yml _config_default.yml That will tell jekyll to serve only the english the language when using this script. How is it now, I am not sure if it will work, _config_default has only the language specification

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this end up generating the site for both en and es, and make en default - I thought we had agreed upon using _config_default.yml,_config_en.yml, which does generate both en and es?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just ran it and it does not generate es, but makes en default - which the previous option did

@neomatrix369 neomatrix369 deleted the update-build-script-to-use-default-jekyll-config-file branch February 16, 2017 13:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants