Skip to content

Commit a688650

Browse files
committed
Switch to relative: setup default root and specific root for index.md
1 parent 62b5dbc commit a688650

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/lesson_initialize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@
225225
226226
# Set the default layout for things in the episodes collection.
227227
defaults:
228+
- values:
229+
root: ..
228230
- scope:
229231
path: ""
230232
type: episodes
@@ -243,6 +245,7 @@
243245
ROOT_INDEX_MD = '''\
244246
---
245247
layout: lesson
248+
root: .
246249
---
247250
FIXME: home page introduction
248251

0 commit comments

Comments
 (0)