From f161ced7e8c655a0691f93cf6e0d429a1d9c799b Mon Sep 17 00:00:00 2001
From: Jennifer Mankoff <jmankoff@cs.washington.edu>
Date: Sat, 11 Feb 2023 09:34:48 -0800
Subject: [PATCH] Marked with a draft warning

---
 _config.yml            | 2 +-
 _config_production.yml | 2 +-
 _layouts/page.html     | 9 +++++++++
 schedule.md            | 2 --
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/_config.yml b/_config.yml
index 3f9c4f66..bed8d3c2 100644
--- a/_config.yml
+++ b/_config.yml
@@ -17,11 +17,11 @@ git_url: https://gitlab.cs.washington.edu/pmp-accessibility/website
 git_branch: master
 discussion: https://mail.google.com/chat/u/0/#chat/space/AAAA5Ym5Qv8
 canvas: https://canvas.uw.edu/courses/1631800
+warning: draft
 
 paginate:            5
 quarter: "Spring 2023"
 copydate: "1/30/23"
-status: draft
 author:
     name: Jennifer Mankoff
     url: "https://make4all.org/jennifer-mankoff/"
diff --git a/_config_production.yml b/_config_production.yml
index 3f9c4f66..bed8d3c2 100644
--- a/_config_production.yml
+++ b/_config_production.yml
@@ -17,11 +17,11 @@ git_url: https://gitlab.cs.washington.edu/pmp-accessibility/website
 git_branch: master
 discussion: https://mail.google.com/chat/u/0/#chat/space/AAAA5Ym5Qv8
 canvas: https://canvas.uw.edu/courses/1631800
+warning: draft
 
 paginate:            5
 quarter: "Spring 2023"
 copydate: "1/30/23"
-status: draft
 author:
     name: Jennifer Mankoff
     url: "https://make4all.org/jennifer-mankoff/"
diff --git a/_layouts/page.html b/_layouts/page.html
index 5e711268..978af595 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,4 +2,13 @@
 layout: default
 ---
 
+{% if site.warning != none %}
+      <div id="unpublished-warning">
+	This is the {{site.quarter}} {{site.status}} draft website.
+      </div>
+{% endif %}
+
+      <h2>{{ page.title }}</h2>
+<p class="meta">{{ page.date | date_to_string }}</p>
+
 {{ content }}
diff --git a/schedule.md b/schedule.md
index 93aba092..553aaed4 100644
--- a/schedule.md
+++ b/schedule.md
@@ -5,8 +5,6 @@ layout: default
 * TOC
 {:toc}
 
-{: .prepare} This is still a draft and may change
-
 {: .module} # Module 1: Accessibility Basics
 : 
 
-- 
GitLab