Skip to content

Commit 439f326

Browse files
allanhaggettclaude
andcommitted
Fix lesson front matter field name in README examples
Use 'type:' instead of 'pagetype:' in lesson page front matter examples to match what the sync engine actually reads. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1a48b65 commit 439f326

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ A "Continue" button is automatically added. The last page links to End of Lesson
245245
**True/false question:**
246246
```html
247247
---
248-
pagetype: truefalse
248+
type: truefalse
249249
correct: true
250250
feedback_correct: "That's right! PPE is always required."
251251
feedback_incorrect: "Actually, PPE is required in all work areas."
@@ -255,15 +255,15 @@ feedback_incorrect: "Actually, PPE is required in all work areas."
255255

256256
| Field | Description |
257257
|-------|-------------|
258-
| `pagetype` | `truefalse` |
258+
| `type` | `truefalse` |
259259
| `correct` | `true` or `false` — which answer is correct |
260260
| `feedback_correct` | Feedback shown when the student answers correctly |
261261
| `feedback_incorrect` | Feedback shown when the student answers incorrectly |
262262

263263
**Multichoice question:**
264264
```html
265265
---
266-
pagetype: multichoice
266+
type: multichoice
267267
answers:
268268
- text: "Stop work and report it"
269269
correct: true
@@ -280,7 +280,7 @@ answers:
280280

281281
| Field | Description |
282282
|-------|-------------|
283-
| `pagetype` | `multichoice` |
283+
| `type` | `multichoice` |
284284
| `answers` | List of answer options, each with `text`, `correct`, and `feedback` |
285285

286286
Correct answers advance to the next page; incorrect answers stay on the current page.

0 commit comments

Comments
 (0)