Skip to content
Snippets Groups Projects
Commit e813a522 authored by Kevin Lin's avatar Kevin Lin :sparkles:
Browse files

Use real staffer data, add image height, width

parent 1dcb3e7f
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,9 @@ defaults:
type: staffers
values:
layout: staffer
height: 300
subpath: '/assets/images/'
width: 300
- scope:
path: ''
type: modules
......
<div class="staffer">
{% if page.photo %}
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="">
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="" width="{{ page.width }}" height="{{ page.height }}">
{% endif %}
<div>
<h3 class="staffer-name">
......
......@@ -6,6 +6,7 @@
border-radius: 50%;
height: 100px;
margin-right: $sp-4;
width: auto;
}
p,
......
---
name: Evil Kevin
role: Teaching Assistant
email: me@example.com
website: https://kevinl.info
photo: kevin.jpg
---
I like teaching Computer Science!
---
name: Kevin Lin
role: Instructor
email: me@example.com
email: kevinl@cs.uw.edu
website: https://kevinl.info
photo: kevin.jpg
photo: kevin-lin.jpg
pronouns: he/him
---
[Schedule an appointment](#){: .btn .btn-outline }
[Schedule a meeting](https://kevinl.info/meet/){: .btn .btn-outline }
---
name: More Evil Kevin
role: Teaching Assistant
email: me@example.com
website: https://kevinl.info
photo: kevin.jpg
---
I like teaching Computer Science!
---
name: Really Evil Kevin
role: Teaching Assistant
email: me@example.com
website: https://kevinl.info
photo: kevin.jpg
---
I like teaching Computer Science!
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment