From 34b8f5d1ccd922b1a6f76c44ce0c25be8a9eb2ac Mon Sep 17 00:00:00 2001 From: Kevin Lin <kevinl@cs.uw.edu> Date: Sun, 22 Sep 2019 10:28:12 -0700 Subject: [PATCH] _layouts, _staffers: Add pronouns, section, office-hours --- _layouts/staffer.html | 9 +++++++++ _staffers/evil-kevin.md | 2 +- _staffers/kevin.md | 2 +- _staffers/more-evil-kevin.md | 2 +- _staffers/really-evil-kevin.md | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/_layouts/staffer.html b/_layouts/staffer.html index 9dd6880..1793e6c 100644 --- a/_layouts/staffer.html +++ b/_layouts/staffer.html @@ -13,6 +13,15 @@ {% if page.email %} <p><a href="mailto:{{ page.email }}">{{ page.email }}</a></p> {% endif %} + {% if page.pronouns %} + <p>Pronouns: {{ page.pronouns }}</p> + {% endif %} + {% if page.section %} + <p class="text-grey-dk-000">Quiz Section: {{ page.section | markdownify | strip_html }}</p> + {% endif %} + {% if page.office-hours %} + <p class="text-grey-dk-000">Office Hours: {{ page.office-hours | markdownify | strip_html }}</p> + {% endif %} {{ content }} </div> </div> diff --git a/_staffers/evil-kevin.md b/_staffers/evil-kevin.md index cd96b0f..7937683 100644 --- a/_staffers/evil-kevin.md +++ b/_staffers/evil-kevin.md @@ -3,7 +3,7 @@ name: Evil Kevin role: Teaching Assistant email: me@example.com website: https://kevinl.info -photo: https://kevinl.info/assets/images/me.png +photo: /assets/images/me.png --- I like teaching Computer Science! diff --git a/_staffers/kevin.md b/_staffers/kevin.md index 2a29f0c..603b1a7 100644 --- a/_staffers/kevin.md +++ b/_staffers/kevin.md @@ -3,7 +3,7 @@ name: Kevin Lin role: Instructor email: me@example.com website: https://kevinl.info -photo: https://kevinl.info/assets/images/me.png +photo: /assets/images/me.png --- [Schedule an appointment](#){: .btn .btn-outline } diff --git a/_staffers/more-evil-kevin.md b/_staffers/more-evil-kevin.md index a09f479..4797a8b 100644 --- a/_staffers/more-evil-kevin.md +++ b/_staffers/more-evil-kevin.md @@ -3,7 +3,7 @@ name: More Evil Kevin role: Teaching Assistant email: me@example.com website: https://kevinl.info -photo: https://kevinl.info/assets/images/me.png +photo: /assets/images/me.png --- I like teaching Computer Science! diff --git a/_staffers/really-evil-kevin.md b/_staffers/really-evil-kevin.md index ecfb9d8..284c509 100644 --- a/_staffers/really-evil-kevin.md +++ b/_staffers/really-evil-kevin.md @@ -3,7 +3,7 @@ name: Really Evil Kevin role: Teaching Assistant email: me@example.com website: https://kevinl.info -photo: https://kevinl.info/assets/images/me.png +photo: /assets/images/me.png --- I like teaching Computer Science! -- GitLab