Hello everyone.
I use Jekyll with the following environment on my computer:
- ubuntu (last updated) SO used for development
- jekyll
- git
I’ve tested that I can use a “gem-based” theme locally in the Jekyll site directory with the following steps:
- upload the theme folder in the Jekyll site directory (root).
- In the
gemfile
(located in the Jekyll site directory): I add the following codegem "my_theme_name", :path => ""
. - I run the
bundle install
command to “install” the theme. - In the file
_config.yml
(in the Jekyll site directory) I add the following code:theme: my_theme_name
. - I run the
jekyll serve
command to use the website locally.
Everything is done correctly.
Now, depending on the configuration above, can I add the _config.yml
file to the theme folder to handle theme configurations such as the Front Matter Default (https://jekyllrb.com/docs/configuration/#front-matter-defaults) ?
I’ve tried adding the _config.yml
file to the theme folder, but it is ignored.
Only the _config.yml
file in the root is considered.
Best regards.
Ivan