DevTips / Artists-Theme

🌄 A free Jekyll Theme developed by the DevTips Community
http://devtips.github.io/Artists-Theme
The Unlicense
592 stars 498 forks source link

@import '3-sections/-sections-dir' (Not working) #73

Closed dmenu closed 9 years ago

dmenu commented 9 years ago

Hello all,

I'm french so I'm sorry for my english :smile:

I started the last 3 days the DevTips Artitsit template tutorial. After several hours to install all the programs I'm now in the coding phase (part 4).

I created the same structure and my {% include header.html %} is working but for the CSS part I've some challenge.

If I add this code in my all.sass the css works

all.sass

---
---
body
    background-color: red

but if I add these the CSS NOT working, in the _site the file 'all' in not converting to .css but stay as a .sass

all.sass

@import '3-sections/-sections-dir'

_-sections-dir.sass

@import 'header'

header.sass

body 
    background-color: pink

Here is my configuration file so far:

_config.yml

# Build settings
port: 8000
sass:
    sass_dir: _sass

Thanks for your help, Damien

wiafe commented 9 years ago

@dmenu I hit this at the beginning also, try putting this in your _config.yml:

markdown: kramdown
permalink: pretty
highlighter: rouge

port: 8080

include: ['_includes/work']
exclude: ['the_design.psd']

sass:
  sass_dir: assets/css
  style: :nested

It's what I had to do before it worked for me. Also is your header.sass should be _header.sass.

dmenu commented 9 years ago

@wiafe Thanks for your help but I still not working ....

also when I restart Jekyll here is the message that I have

MacBook-Damien:Website taber$ jekyll serve --watch
jekyll 2.5.3 | Error:  (/Users/taber/Website/_config.yml): found character that cannot start any token while scanning for the next token at line 6 column 1

_config.yml

markdown: kramdown
permalink: pretty
highlighter: rouge
port: 8000
sass:
    sass_dir: assets/css
    style: :nested

Thanks, Damien

wiafe commented 9 years ago

@dmenu Take out the highlighter I use that because I'm using jekyll on a PC.

dmenu commented 9 years ago

@wiafe I style have the same error... :disappointed:

wiafe commented 9 years ago

@dmenu Can you upload or share with me what you have so I can look over it?

dmenu commented 9 years ago

@wiafe I sent you an email with my skype ... ;)

wiafe commented 9 years ago

@dmenu Sadly don't have skype on here can you upload it to google drive by chance and share?

dmenu commented 9 years ago

@wiafe I'll sent you a Zip on your email adresse :)

wiafe commented 9 years ago

@dmenu Go into index.html and type the --- up on top

---
---
<!DOCTYPE html>
dmenu commented 9 years ago

I still have the have the same problem with the _config.yml ...

:/

Le 18/02/2015 à 8:00 AM, Randy Wiafe a écrit :

Go into index.html and type the --- up on top



<!DOCTYPE html> — Reply to this email directly or view it on GitHub.

dmenu commented 9 years ago

After several tests I saw that the .scss is working but not the .sass .. ??

ZeldaNerd123 commented 9 years ago

Bonjour @dmenu is possible for you to send me your code so i can look over and see if i find the error.

dmenu commented 9 years ago

@zeldanerd Yes do you have an email adress ? thanks, Damien

ZeldaNerd123 commented 9 years ago

Yes you can contact me at zeldanerd123@hotmail.com

wiafe commented 9 years ago

@dmenu @zeldanerd were you guys able to figure it out?

ZeldaNerd123 commented 9 years ago

@waife @dmenu I still haven't but he has scss working. do want to code using .sass dmenu?

ZeldaNerd123 commented 9 years ago

honestly if he wants to code his css .sass it's an easy fix to make it modular

dmenu commented 9 years ago

@wiafe @zeldanerd at the moment I'm not able to find the solution for the .sass. My end goal is to have a website in html + css. Thanks for your help. Damien

travisneilson commented 9 years ago

Hey guys. Thanks for being so helpful. This is amazing. I am so appreciative :)

Can I have a look at your project? travisneilson@gmail.com

dmenu commented 9 years ago

@travisneilson Thanks for your help Travis. I just sent you an email .. Best regards, Damien

travisneilson commented 9 years ago

Got your email. Here is my take on it. I made a video. http://youtu.be/98bfoRDligs

Hope its helpful :)

dmenu commented 9 years ago

@travisneilson @wiafe @zeldanerd Thanks all for your help ... I'll continue all the serie ... :+1: :)

travisneilson commented 9 years ago

Anytime! I'm glad I can help. And it was really cool to see others rushing in to support also. Thanks @zeldanerd and @wiafe — you rock!

ZeldaNerd123 commented 9 years ago

@dmenu @dmenu No problem, I love to help others. Dmenu, If you ever need anymore help don't hesitate to ask for help. Travis its a pleasure, if it wasn't from all the help you have provide us, I don't think I would have even know how to fix his issue. :+1: :)

takhunov44 commented 8 years ago

HI Everyone, Having the same problem. Any help would be appreciated. Thanks.