Skip to content

Creating new assignments

Yixin Lin edited this page Nov 6, 2015 · 2 revisions

To create new assignments, create a folder named that assignment in lowercase, e.g. dna.

Then add it in the _config.yml file, under assignments: e.g. - title: dna.

Put an index.md file: this will be the first page that it goes to. Pages should have the following frontmatter:

---
layout: page
title: "Title of Page"
assignment: "name-of-assignment"
---

Then, put the following in a file named printer-friendly.md:

---
layout: printer-friendly
title: "-name of assignment- - Printer friendly"
assignment: "-name of assignment-"
---

Your additional new assignment pages should be numbered: e.g. "2-dna-second-page.md".

The printer-friendly page, navbar, and titles will all be taken care of automatically.

Clone this wiki locally