_layouts/home.html in shanep-class-1.0.19 vs _layouts/home.html in shanep-class-1.0.20
- old
+ new
@@ -56,11 +56,10 @@
<tr>
<th class="text-center">Week</th>
<th>Due Date</th>
<th>Homework</th>
<th>Points</th>
- <th>Lesson</th>
</tr>
</thead>
<tbody>
{% assign curr_week = 1 %}
@@ -73,11 +72,11 @@
{% if page.path contains "lesson" %}
{% assign loop_counter = loop_counter | plus: 1 %}
{% if curr_module != page.tag %}
<!--Module header-->
<tr>
- <td colspan="5" class="text-center table-darkish">{{page.tag | capitalize }}</td>
+ <td colspan="4" class="text-center table-darkish">{{page.tag | capitalize }}</td>
</tr>
{% assign curr_module = page.tag %}
{% endif%}
{% if page.layout == "reading-zybooks" %}
{% assign page_title = site.data.semester-info.reading[page.slug] %}
@@ -93,11 +92,10 @@
{% assign curr_date = curr_date | date: "%s" | plus: two_days %}
<td>{{curr_date | date: "%m/%d - %a"}}</td>
<td><a href="{{site.url}}{{page.url}}">{{page_title}}</a>{%if page.layout == "lab"%} 🧪 {%elsif page.layout == "project" %} 📡 {% endif%}</td>
<td>{{page.points}}</td>
{% assign total_points = total_points | plus: page.points %}
- <td>{{page.slug}}</td>
</tr>
<tr>
<td rowspan= 2 class="table-lightish text-center border">
{% assign curr_date = curr_date | date: "%s" | plus: three_days %}
{{curr_week}}
@@ -129,18 +127,17 @@
{% assign curr_date = curr_date | date: "%s" | plus: two_days %}
<td>{{curr_date | date: "%m/%d - %a"}}</td>
<td><a href="{{site.url}}{{page.url}}">{{page_title}}</a>{%if page.layout == "lab"%} 🧪 {%elsif page.layout == "project" %} 📡 {% endif%}</td>
<td>{{page.points}}</td>
{% assign total_points = total_points | plus: page.points %}
- <td>{{page.slug}}</td>
</tr>
{%endif%}
{% endif %}
{% endfor%}
</tbody>
<tfoot>
<tr>
- <td colspan="4" class="table-lightish">Total Points:</td>
+ <td colspan="3" class="table-lightish">Total Points:</td>
<td class="table-lightish">{{total_points}}</td>
</tr>
</tfoot>
</table>