Skip to content
Snippets Groups Projects
Commit 1d195e53 authored by Kevin Lin's avatar Kevin Lin
Browse files

_config.yml: Add lessons as a Just the Docs collection

parent c8c09fb6
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Just the Class
title: &title Just the Class
tagline: A Jekyll template for course websites
description: A modern, highly customizable, responsive Jekyll template for course websites
author: Kevin Lin
......@@ -38,6 +38,9 @@ footer_content:
# Collections for website data
collections:
announcements:
lessons:
permalink: '/:collection/:path/'
output: true
modules:
schedules:
staffers:
......@@ -48,6 +51,11 @@ defaults:
type: announcements
values:
layout: announcement
- scope:
path: ''
type: lessons
values:
layout: page
- scope:
path: ''
type: modules
......@@ -63,6 +71,13 @@ defaults:
type: staffers
values:
layout: staffer
# Configure collections for Just the Docs
just_the_docs:
collections:
pages:
name: *title
lessons:
name: Lessons
compress_html:
clippings: all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment