Skip to content

Ignore sass directories starting with _ #1084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2020
Merged

Conversation

iirelu
Copy link
Contributor

@iirelu iirelu commented Jul 11, 2020

Prior to this change, only sass files starting with _ were ignored by Zola's sass compiler. This made using sass frameworks incredibly inconvenient, as Zola attempted to compile every single sass file in the framework, and inevitably errored due to them not being standalone. For example, to use the Bulma framework, you had to manually add an underscore to the beginning of every sass file in it so Zola would stop trying to compile them as standalone css files. Now you can change the directory name to _bulma and have the same result.

Prior to this change, only sass files starting with _ were ignored by
Zola's sass compiler. This made using sass frameworks incredibly
inconvenient, as Zola attempted to compile every single sass file in the
framework, and inevitably errored due to them not being standalone. For
example, to use the Bulma framework, you had to manually add an
underscore to the beginning of *every* sass file in it so Zola would
stop trying to compile them as standalone css files. Now you can change
the directory name to _bulma and have the same result.
@Keats Keats merged commit 24d4784 into getzola:next Jul 22, 2020
@Keats
Copy link
Collaborator

Keats commented Jul 22, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants