Skip to content

Commit 0420e31

Browse files
authored
Merge pull request #727 from zihanKuang/add-course-quiz
Refactor: Update Content Hierarchy for Quizzes
2 parents b1adfea + 87d11a9 commit 0420e31

File tree

1 file changed

+6
-3
lines changed
  • content/en/cloud/academy/creating-your-learning-path

1 file changed

+6
-3
lines changed

content/en/cloud/academy/creating-your-learning-path/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ You can find and copy your Organization UUID from your organization page on [Aca
7979
8080
3. **Build the Content Hierarchy**
8181
82-
With the main folders in place, you can now structure your first course inside the `content` directory. The content is organized in a clear hierarchy: **Learning PathCourse → Module → Page, Quiz, or Lab.**
82+
With the main folders in place, you can now structure your first course inside the `content` directory. The content is organized in a clear hierarchy: A **Learning Path** contains **Courses**. A **Course** is primarily broken down into **Modules**, but can also conclude with a final **Quiz** that serves as a course exam. Finally, a **Module** consists of individual **Pages**, **Quizzes**, and **Labs**.
8383
8484
A high-level view of the structure looks like this:
8585
@@ -90,16 +90,19 @@ You can find and copy your Organization UUID from your organization page on [Aca
9090
├── advanced-networking/ // <-- Course 1
9191
│ └── _index.md
9292
└── core-concepts/ // <-- Course 2
93-
├── _index.md
93+
├── _index.md
94+
├── course-exam.md // <-- Course Exam (Quiz)
9495
└── 01-pods-and-services/ // <-- Module
9596
├── _index.md
9697
├── 01-pods.md // <-- Page 1
9798
├── 02-services.md // <-- Page 2
9899
├── 03-knowledge-check.md // <-- Quiz
99100
├── 04-hands-on-lab.md // <-- Lab
100101
└── arch.png // <-- Image
102+
101103
```
102-
Each folder represents a level in the hierarchy. The `_index.md` file within a folder is crucial as it defines the metadata for that level, such as its `title`, `description`, and `type` (e.g., `type: "course"`). The final `.md` files at the lowest level are your individual **Pages**, **Quizzes**, or **Labs**.
104+
105+
Each folder represents a level in the hierarchy. The `_index.md` file within a folder is crucial as it defines the metadata for that level, such as its `title`, `description`, and `type` (e.g., `type: "course"`). The final `.md` files represent your individual learning activities: **Pages** and **Labs** are typically found inside Modules, while **Quizzes** can be found inside Modules (for knowledge checks) or directly under a Course (as a final exam).
103106
104107
> For a deeper understanding of how Hugo uses `_index.md` to create content sections, you can refer to the official [Hugo Page Bundles documentation](https://gohugo.io/content-management/page-bundles/).
105108

0 commit comments

Comments
 (0)