Skip to content

qmd-lab/course-website-ejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Course-website-ejs Extension For Quarto

A collection of ejs templates for a course website.

Installing

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.

Using

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'
---

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •