File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="staffer ">
2
- {% if page.photo %}
3
- < img class ="staffer-image " src ="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }} " alt ="">
4
- {% endif %}
2
+ {%- if page.photo - %}
3
+ < img class ="staffer-image " src ="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }} " alt ="" width =" {{ page.width }} " height =" {{ page.height }} " >
4
+ {%- endif - %}
5
5
< div >
6
6
< h3 class ="staffer-name ">
7
- {% if page.website %}
7
+ {%- if page.website - %}
8
8
< a href ="{{ page.website }} "> {{ page.name }}</ a >
9
- {% else %}
9
+ {%- else - %}
10
10
{{ page.name }}
11
- {% endif %}
12
- {% if page.pronouns %}
11
+ {%- endif - %}
12
+ {%- if page.pronouns - %}
13
13
< span class ="staffer-pronouns "> {{ page.pronouns }}</ span >
14
- {% endif %}
14
+ {%- endif - %}
15
15
</ h3 >
16
- {% if page.email %}
16
+ {%- if page.email - %}
17
17
< p > < a href ="mailto:{{ page.email }} "> {{ page.email }}</ a > </ p >
18
- {% endif %}
19
- {% if page.section %}
18
+ {%- endif - %}
19
+ {%- if page.section - %}
20
20
< p class ="staffer-meta "> Quiz Section: {{ page.section | markdownify | strip_html }}</ p >
21
- {% endif %}
22
- {% if page.office-hours %}
21
+ {%- endif - %}
22
+ {%- if page.office-hours - %}
23
23
< p class ="staffer-meta "> Office Hours: {{ page.office-hours | markdownify | strip_html }}</ p >
24
- {% endif %}
24
+ {%- endif - %}
25
25
{{ content }}
26
26
</ div >
27
27
</ div >
You can’t perform that action at this time.
0 commit comments