.sass files do not compile

2

I'm working on a project using Jekyll with Github Pages.

I'm trying to use a .sass file, saving it in the _sass folder, using the syntax recommended by jekyll's website:

---
---

.page-header
  background: #333
  padding: 1em
  text-align: center

The file does not, however, compile for the final file main.css in the _site/css folder.

What should I do to work with .sass files on Jekyll?

    
asked by anonymous 15.10.2014 / 04:24

1 answer

2

I forgot to import the file .sass at the end of the file css/main.scss :

@import
    "base",
    "layout",
    "syntax-highlighting",
    "header" /* nome do meu arquivo .sass, sem a extensão */
;

Now it's working perfectly.

    
15.10.2014 / 14:21