From f0c8589c245d3f22e5acb4102f4d2fcac85e7041 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sun, 29 Jan 2023 10:48:13 +0000 Subject: [PATCH] Update section on custom Bootstrap compilation in generated readme --- {{cookiecutter.project_slug}}/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_slug}}/README.md b/{{cookiecutter.project_slug}}/README.md index f7c29fb22..16ee6d1fe 100644 --- a/{{cookiecutter.project_slug}}/README.md +++ b/{{cookiecutter.project_slug}}/README.md @@ -128,13 +128,14 @@ See detailed [cookiecutter-django Heroku documentation](http://cookiecutter-djan See detailed [cookiecutter-django Docker documentation](http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html). {%- endif %} -{%- if cookiecutter.frontend_pipeline == 'Gulp' %} +{%- if cookiecutter.frontend_pipeline in ['Gulp', 'Webpack'] %} + ### Custom Bootstrap Compilation The generated CSS is set up with automatic Bootstrap recompilation with variables of your choice. Bootstrap v5 is installed using npm and customised by tweaking your variables in `static/sass/custom_bootstrap_vars`. -You can find a list of available variables [in the bootstrap source](https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss), or get explanations on them in the [Bootstrap docs](https://getbootstrap.com/docs/5.1/customize/sass/). +You can find a list of available variables [in the bootstrap source](https://github.com/twbs/bootstrap/blob/v5.1.3/scss/_variables.scss), or get explanations on them in the [Bootstrap docs](https://getbootstrap.com/docs/5.1/customize/sass/). -Bootstrap's javascript as well as its dependencies is concatenated into a single file: `static/js/vendors.js`. +Bootstrap's javascript as well as its dependencies are concatenated into a single file: `static/js/vendors.js`. {%- endif %}