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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildAndRunSite.sh
@@ -1,3 +1,3 @@
#!/bin/sh

jekyll serve --incremental --watch --config _config.yml,_config_en.yml
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