Skip to content

Commit

Permalink
Let Jekyll transpile Sass
Browse files Browse the repository at this point in the history
Jekyll automatically converts Sass files in place if they contain front
matter. Moved `main.scss` and `noscript.scss` to `/assets/css` so that
the output can be reached via `/assets/css/main.css` and
`/assets/css/noscript.css`, respectively. This enables editing of
stylesheets, as well as the use of Liquid tags in aforementioned files.
The old css files are not needed anymore.

Jekyll tells Sass to look in `_sass` (configured by
`site.sass.sass_dir`) when it reaches an import. The remainder of
`/assets/sass` was moved there. According the docs, Liquid tags don't
work in this directory.

Exclude `.sass-cache` form the repo.

https://jekyllrb.com/docs/assets/
  • Loading branch information
potentialize committed Aug 15, 2018
1 parent 2a84f5a commit 4d3f1ff
Show file tree
Hide file tree
Showing 27 changed files with 11 additions and 4,521 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
_site
_site/
.DS_Store
.sass-cache
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4d3f1ff

Please sign in to comment.