The following tools should be installed before starting:
- NodeJS, npm, yarn
- Ruby, Gem, Bundler
- Jekyll
- Sass
yarn install
bundle install
yarn start
to 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.json
the name is used in the meta tags - Replace the different icon by yours in
_images
and in the root folder
- SCSS partials should be located in
_scss
for better reading - Put all your images in
_images
the content of this folder will be moved to the_site/assets/images
so you can access them with this path/assets/images/**
in your templates, check the examples - Put all your Javascript files inside
_src
and import them fromapp.js
or you can also add them as a new entry point in your webpack configuration file
- All the posts should be there in inside
_i18n
folder 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'
fromgemfile
andjekyll-multiple-languages-plugin
fromplugins
in_config.yml
- We invite you to read the very good official documentation of the plugin Jekyll multiple language plugin