From 511dc1960d73f1ef5ad09d37ba9dff23b9f78102 Mon Sep 17 00:00:00 2001 From: Jen Mankoff <jmankoff@cs.washington.edu> Date: Sun, 10 Sep 2023 11:49:53 -0700 Subject: [PATCH] fixed layout of assignment due dates --- _layouts/assignment.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_layouts/assignment.html b/_layouts/assignment.html index 3812ff7c..d83e84fb 100644 --- a/_layouts/assignment.html +++ b/_layouts/assignment.html @@ -24,6 +24,7 @@ <div id="due dates"> + {% if page.assigned.size > 1 %} <strong>Assigned</strong> <ul> @@ -36,14 +37,14 @@ {% endif %} {% if page.due.size > 1 %} -   <strong>Due</strong> + <br> <strong>Due</strong> <ul> {% for day in page.due %} <li>{{day}}</li> {% endfor %} </ul> {% else %} - <strong>Due</strong>: {{page.assigned}} +   <strong>Due</strong>: {{page.assigned}} {% endif %} </div> -- GitLab