PlayMa256
PlayMa256

Reputation: 6841

Css Import not working jekyll

I'm having problems, my css is not displaying on index page.

At index page, i included

Assets is the folder where are all my sass files, at assets: all.sass(will include all the others), 3-sections (sections from my website). Inside 3-sections : _header.sass

at all.sass

@import '3-sections/header'

at _header.sass

body
    background:pink

I check my index page, and nothing happened. What i did wrong?

Upvotes: 0

Views: 112

Answers (1)

David Jacquel
David Jacquel

Reputation: 52809

Put this in your _config.yml :

sass:
  # loading path from site root
  # default to _sass
  sass_dir: assets

Upvotes: 1

Related Questions