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 trialAndrew Wiley
27,097 Pointsfound character that cannot start any token while scanning for the next token???
When adding
Default Setting
defaults:
-
scope:
path: "" # an empty string here means all files in the project
type: "posts" # previously post
in Jekyll 2.2.
values:
author: Andrew Wiley
category: programmer
layout: "default"
-
scope:
path: "" # an empty string here means all files in the project
type: "pages" # previously `post` in Jekyll 2.2.
values:
layout: "pagefound character that cannot start any token while scanning for the next token"
I get back an error saying "found character that cannot start any token while scanning for the next token"
What am I doing wrong????
1 Answer
Codin - Codesmite
8,600 Pointsdefaults:
-
scope:
path: "" # an empty string here means all files in the project
type: "pages" # previously `post` in Jekyll 2.2.
values:
layout: "default"
author: "Andrew Wiley"
category: "programmer"
This should be correct, make sure your indentation is correct and you are using spaces to indent and not tabs as YAML does not support tab indentation.