Skip to content

Commit

Permalink
fix: force render .scss files for cms as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Danyal-Faheem authored and hinakhadim committed Mar 6, 2024
1 parent abaaef9 commit 0b41135
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
@@ -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)
8 changes: 6 additions & 2 deletions tutorindigo/plugin.py
Expand Up @@ -50,10 +50,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(
Expand Down

0 comments on commit 0b41135

Please sign in to comment.