000
Example course
This page is used for visual testing of the courses layout and also showcases its capabilities
Welcome to the example course #
The courses layout supports the full range of markdown elements/blocks as demonstrated in the example post.
You can also add assessments as follows:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
A B CExample of an incorrect answer
Example of an incorrect answer
Example of a correct answer
Adding courses #
Adding courses involves the following:
- Add a new directory to
/src/site/content/en/learn. - Add an index.md file. You can copy this one from
src/site/content/en/handbook/content-types/example-course/index.mdas a starting point. - Add a data file named using the following convention:
{dir_name}.11tydata.js. - Use the
course11tydatautil to generate the required data. You can use the following file as a starting pointsrc/site/content/en/handbook/content-types/example-course/example-course.11tydata.js. - Create a new directory under
src/site/_data/coursesusing the name passed to thecourse11tydatautil. - Add two files,
meta.ymlandtoc.yml. - Add course sections as subdirectories.
- Add the section urls to
toc.ymland the sidebar will be generated automatically.
Here's what you'll learn:
Example Section
This page is used for visual testing of the courses layout and also showcases its capabilities
Example Section - 2
This page is used for visual testing of the courses layout and also showcases its capabilities