Skip to content

Commit

Permalink
fix staff page, remove tutors (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwin3210 committed Sep 6, 2024
1 parent ae74d0a commit 0d7b12b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
21 changes: 10 additions & 11 deletions _layouts/staffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.staffer .team {
margin-left: .3em;
}

</style>

<div class="staffer">
Expand All @@ -25,22 +26,20 @@ <h3 class="staffer-name" id="{{ page.name | slugify }}">
{%- else -%}
{{ page.name }}
{%- endif -%}
{%- if page.pronouns -%}
<span class="staffer-badge">{{ page.pronouns }}</span>
{%- endif -%}
{%- if page.access_email -%}
<span class="staffer-badge">{{ site.course_email }}</span>
{%- endif -%}
{%- if page.access_dsp -%}
<span class="staffer-badge">DSP</span>
{%- endif -%}
</h3>

{%- if page.pronouns -%}
<span class="staffer-pronouns">{{ page.pronouns }}</span>
{%- endif -%}

{%- if page.email -%}
<p><a href="mailto:{{ page.email }}">{{ page.email }}</a></p>
{%- endif -%}
{%- if page.Section -%} <!--Change to page.bio once updated -->
<p class="staffer-meta">Section: {{ page.bio | markdownify | strip_html }}</p>

{%- if page.bio -%}
<p class="staffer-meta">{{ page.bio | markdownify | strip_html }}</p>
{%- endif -%}

{%- if page.office_hours -%} <!--Change the underscore to a hyphen when you want to display it-->
<p class="staffer-meta">Office Hours: {{ page.office_hours | markdownify | strip_html }}</p>
{%- endif -%}
Expand Down
10 changes: 5 additions & 5 deletions staff.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@ Email `[email protected]` for logistical questions!
{% if num_teaching_assistants != 0 %}


<!-- <div class="role flex"> -->
<div class="role flex">
{% for staffer in teaching_assistants %}
{{ staffer }}
{% endfor %}
{% endif %}
<!-- </div> -->
</div>

## Tutors
<!-- ## Tutors
{% assign tutors = site.staffers | where: 'role', 'Tutor (UCS1)' %}
{% assign num_tutors = tutors | size %}
{% if num_tutors != 0 %}
<!-- <div class="role flex"> -->
<div class="role flex">
{% for staffer in tutors %}
{{ staffer }}
{% endfor %}
{% endif %}
<!-- </div> -->
</div> -->

0 comments on commit 0d7b12b

Please sign in to comment.