Skip to content
Snippets Groups Projects
Commit 0cfdf803 authored by Kevin Lin's avatar Kevin Lin :sparkles:
Browse files

Simplify module data format

parent ba306cb1
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
{% if page.days %} {% if page.days %}
<dl class="module-days"> <dl class="module-days">
{% for day in page.days %} {% for day in page.days %}
<dt class="module-day">{{ day.date | date: '%b %e' }}</dt> {% assign date = day | first %}
{% for event in day.events %} {% assign events = day | last %}
<dt class="module-day">{{ date | date: '%b %e' }}</dt>
{% for event in events %}
{% assign main = event | first %} {% assign main = event | first %}
{% assign info = event | last %} {% assign info = event | last %}
{% capture main %}{% include eval.liquid content=main %}{% endcapture %} {% capture main %}{% include eval.liquid content=main %}{% endcapture %}
......
...@@ -2,28 +2,23 @@ ...@@ -2,28 +2,23 @@
week: 1 week: 1
title: Introduction to Java title: Introduction to Java
days: days:
- date: 2019-04-01 2019-04-01:
events: "[Java & Git](#)":
"[Java & Git](#)": "[1.1](#)"
"[1.1](#)" "**HW 1 out**{: .label .label-hw-out }":
"**HW 1 out**{: .label .label-hw-out }": null
null 2019-04-02:
- date: 2019-04-02 "**Section**{: .label .label-section } [Intro to Java](#)":
events: "Solution"
"**Section**{: .label .label-section } [Intro to Java](#)": 2019-04-03:
"Solution" "[Variables & Objects](#)":
- date: 2019-04-03 "[1.2](#), [2.1](#)"
events: 2019-04-04:
"[Variables & Objects](#)": "**Lab**{: .label } [Intro to Java](#)":
"[1.2](#), [2.1](#)" null
- date: 2019-04-04 2019-04-05:
events: "[Tracing, IntLists, & Recursion](#)":
"**Lab**{: .label } [Intro to Java](#)": "[2.1](#)"
null "**HW 1 due**{: .label .label-hw-due }":
- date: 2019-04-05 null
events:
"[Tracing, IntLists, & Recursion](#)":
"[2.1](#)"
"**HW 1 due**{: .label .label-hw-due }":
null
--- ---
...@@ -2,28 +2,23 @@ ...@@ -2,28 +2,23 @@
week: 2 week: 2
title: Basic Data Structures title: Basic Data Structures
days: days:
- date: 2019-04-08 2019-04-08:
events: "[Linked Lists & Encapsulation](#)":
"[Linked Lists & Encapsulation](#)": "[3.1](#), [2.2](#), [2.3](#)"
"[3.1](#), [2.2](#), [2.3](#)" "**HW 2 out**{: .label .label-hw-out }":
"**HW 2 out**{: .label .label-hw-out }": null
null 2019-04-09:
- date: 2019-04-09 "**Section**{: .label .label-section } [Linked Lists](#)":
events: "Solution"
"**Section**{: .label .label-section } [Linked Lists](#)": 2019-04-10:
"Solution" "[Resizing Arrays](#)":
- date: 2019-04-10 "[2.4](#), [2.5](#)"
events: 2019-04-11:
"[Resizing Arrays](#)": "**Lab**{: .label } [Resizing Arrays](#)":
"[2.4](#), [2.5](#)" null
- date: 2019-04-11 2019-04-12:
events: "[Runtime Analysis](#)":
"**Lab**{: .label } [Resizing Arrays](#)": "[8.1](#), [8.2](#), [8.3](#), [8.4](#)"
null "**HW 2 due**{: .label .label-hw-due }":
- date: 2019-04-12 null
events:
"[Runtime Analysis](#)":
"[8.1](#), [8.2](#), [8.3](#), [8.4](#)"
"**HW 2 due**{: .label .label-hw-due }":
null
--- ---
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