Permalink
Browse files

Refactor scope variables

Now that there is an en/ directory we need to define its scope
explicitly in _config
  • Loading branch information...
mdlincoln committed May 19, 2018
1 parent c4ee876 commit d89381026426795302d97d67cca3218389478f01
Showing with 7 additions and 6 deletions.
  1. +7 −6 _config.yml
@@ -21,24 +21,25 @@ defaults:
path: ""
values:
lang: "en"
basepath: ""
lessonpath: "/lessons"
-
scope:
path: "en"
values:
lang: "en"
-
scope:
path: "es"
values:
lang: "es"
basepath: "/es"
lessonpath: "/lecciones"
-
scope:
path: "lessons"
path: "en/lessons"
values:
lesson: true
english-lesson: true
-
scope:
path: "lessons/retired"
path: "en/lessons/retired"
values:
lesson: false
english-lesson: false

0 comments on commit d893810

Please sign in to comment.