Skip to content
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

Remove compiled CSS #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tijssen
Copy link

@tijssen tijssen commented Feb 10, 2025

Hello,

I am not a Jekyll expert, but as far as I understand, Jekyll themes should have no compiled CSS (*.css or *.css.map) in their source repositories. Jekyll should generate these files when building the site from the SASS files (*.scss) of the theme.

Since commit 2f1e4d4 by tanvincible on 28.12.2024, there has been compiled CSS in the source repository for no-style-please under assets/css/.

I have a personal site which uses this theme. For this site, I implemented some custom SASS under assets/css/main.scss. Since the commit mentioned above, this custom SASS has been ignored when building the site. My guess is the compiler (Github Pages) only looks at the compiled CSS in this folder and skips my custom SASS.

This pull request consists of a single commit in which the compiled CSS files in question are deleted. Additionally, the extensions of the compiled CSS files is added to .gitignore. This is to prevent the inclusion of these files in the source repository in the future.

I have tested this code with my personal site and it seems to alleviate the issue.

Regards, Luuk

@thelvarun
Copy link

thelvarun commented Feb 13, 2025

+1, ran into this same issue and came to the same conclusion. i am a frontend n00b and had difficulty figuring this out, i think this merge is helpful.

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