Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Jekyll help

I'm trying to get a jekyll site up and running and I'm getting an error of: jekyll 2.5.3 | Error: (/User/dannyrubio/drubio/_config.yml): did not find expected key while parsing a block mapping at line 1 colomn 1

title: DRubio
description: this is a portfolio blog about me and all the things I do. 
url: http://brianmaierjr.github.com/long-haul
baseurl: ""
paginate_path: "blog/page:num/"
twitter_username: drbe4t
#build settings
markdown: redcarpet
highlighter: pygments
paginate: 5
#navigation
navigation:
  - title: Home
    url: /index.html
  -title: About
    url: /about
 - title: Contact
   url: /contact
#default settings
defaults:
   scope:
       path: ""
       type: "posts"
  values:
              author: Daniel Rubio
              layout: "post"
              comments: true
     scope:
          path: ""
          type: "drafts"

      values:
          author: Daniel Rubio
          layout: "post"

Social:
       github: drbe4t
       twitter: drbe4t
       email: drbe4t@gmail.com

google_analytics: "UA-58263416-1"

1 Answer

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Daniel Rubio,

It looks like your indentation is a bit off. You need to indent 2 spaces for the scope and values, then 2 more spaces for the variables. Also, don't forget the dashes between each set.

Check out the format of this _config.yml file.

when you say space are referring to the space from the left side of the page or 2 spaces from each other. like returns?