The following tools should be installed before starting:
- NodeJS, npm, yarn
- Ruby, Gem, Bundler
- Jekyll
- Sass
yarn installbundle installyarn startto serve locally, with live reload, site will be available at http://localhost:8080/
To deploy a new version of the app, just commit a new version on main. Netlify will compile the content and deploy automatically.
To simulate locally:
yarn run build
- The required configurations are all in
_config.yml - Also edit
package.jsonthe name is used in the meta tags - Replace the different icon by yours in
_imagesand in the root folder
- SCSS partials should be located in
_scssfor better reading - Put all your images in
_imagesthe content of this folder will be moved to the_site/assets/imagesso you can access them with this path/assets/images/**in your templates, check the examples - Put all your Javascript files inside
_srcand import them fromapp.jsor you can also add them as a new entry point in your webpack configuration file
- All the posts should be there in inside
_i18nfolder inside its language, check the boilerplate examples - You can put your variables inside
_i18n/en.yml(replace en with your language) and call them in your template with{% t variable_name.sub_variable %} - You can remove the plugin by removing
gem 'jekyll-multiple-languages-plugin'fromgemfileandjekyll-multiple-languages-pluginfrompluginsin_config.yml - We invite you to read the very good official documentation of the plugin Jekyll multiple language plugin