diff --git a/changelog.d/20240220_174954_talharizwan667_indigo_cms_scss.md b/changelog.d/20240220_174954_talharizwan667_indigo_cms_scss.md new file mode 100644 index 000000000..bbf50eb85 --- /dev/null +++ b/changelog.d/20240220_174954_talharizwan667_indigo_cms_scss.md @@ -0,0 +1 @@ +- [Bugfix] *.scss files in cms directory were not rendered in the tutor environment because they are stored in a "partials" subdirectory. (by @Talha-Rizwan) diff --git a/tutorindigo/plugin.py b/tutorindigo/plugin.py index 0a9e6c745..7c21d69b1 100644 --- a/tutorindigo/plugin.py +++ b/tutorindigo/plugin.py @@ -57,10 +57,14 @@ ) # Force the rendering of scss files, even though they are included in a "partials" directory -hooks.Filters.ENV_PATTERNS_INCLUDE.add_item( - r"indigo/lms/static/sass/partials/lms/theme/" +hooks.Filters.ENV_PATTERNS_INCLUDE.add_items( + [ + r"indigo/lms/static/sass/partials/lms/theme/", + r"indigo/cms/static/sass/partials/cms/theme/", + ] ) + # init script: set theme automatically with open( os.path.join(