Site layout
The side matches the university courses and is arranged into modules with the following structure
Site
┗ (has many) Modules
┣ (has 1) Information table
┣ (0 or more) Notes
┣ (0 or more) Crib Sheets
┗ (0 or more) Questions
Adding a module
- In
./modulescreate a directory in the folder named after the module code in all caps e.gCS133 - In the folder create a file called
index.md - Add the following to the top of the file
--- module : <Code> layout: modhome title: <module name> --- - Replace
<code>with the module code in all caps e.g.CS133 - Replace
<module name>with the module name e.g.Professional Skills - In the folder create a file called
modIndex.html - Add the following to the top of the file
--- module : <Code> layout: modindex title: <module name> --- - Replace
<code>with the module code in all caps e.g.CS133 - Replace
<module name>with the module name e.g.Professional Skills - In
./_datacreate a new file with the name<code>.ymle.gCS133.yml - Copy the following into the file
code: <code> description: <module name> - replace the content between the angled brackets
<>with the relevant details
Congratulations you have added a new module to the site if added correctly it should appear on this page and take you to a placeholder page with the basic information displayed there is no proper content see the next tutorial for how to add this.