Skip to content

Commit c4dcb61

Browse files
committed
fix: declare quiz JSON and H5P as Quarto static resources
questions.json and exam-questions.h5p were returning 404 because Quarto only copies HTML/image files by default — JSON/binary files need explicit declaration under project.resources.
1 parent 68439f7 commit c4dcb61

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

_quarto.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
project:
22
type: website
3+
resources:
4+
- content/intro-lecture/quiz/questions.json
5+
- content/intro-lecture/quiz/exam-questions.h5p
36

47
website:
58
title: dhbern.github.io

0 commit comments

Comments
 (0)