A collection of ejs templates for a course website.
quarto add qmd-lab/course-website-ejs
This will install the extension under the _extensions
subdirectory.
If you're using version control, you will want to check in this directory.
You use these ejs templates by providing a path to them in the listings yaml of the document in which you'd like it to be applied. For example:
---
title: Course 101
subtitle: My University
listing:
- id: schedule-listing
contents: scheduled-docs_files/schedule.yml
template: '_extensions/qmd-lab/course-website/schedule-1.ejs'
---
Certain ejs templates will have additional behavior depending on the profile profile. If you are using such a template on a document, turn on the course-website-ejs
filter in the document metadata.
---
title: Course 101
subtitle: My University
filters:
- course-website-ejs
listing:
- id: schedule-listing
contents: scheduled-docs_files/schedule.yml
template: '_extensions/qmd-lab/course-website/schedule-1.ejs'
---