diff --git a/_config.yml b/_config.yml index ff0200315a1892c2da53edfb82c93b307375e1f9..b9d3d8c3e565ce3bff5e01c5b92b9bf4d2529a85 100644 --- a/_config.yml +++ b/_config.yml @@ -48,7 +48,9 @@ defaults: type: staffers values: layout: staffer + height: 300 subpath: '/assets/images/' + width: 300 - scope: path: '' type: modules diff --git a/_layouts/staffer.html b/_layouts/staffer.html index 6a5e894e71e942b9305281aa232de75887efcafe..1bcfdd8577318de83ed5b5e660822485d55f28ac 100644 --- a/_layouts/staffer.html +++ b/_layouts/staffer.html @@ -1,6 +1,6 @@ <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"> diff --git a/_sass/custom/staffer.scss b/_sass/custom/staffer.scss index 18630e0655c4be1f98927112faedb00992642bd1..12bd3ab1683d694da8962e39aeb72e55885fb182 100644 --- a/_sass/custom/staffer.scss +++ b/_sass/custom/staffer.scss @@ -6,6 +6,7 @@ border-radius: 50%; height: 100px; margin-right: $sp-4; + width: auto; } p, diff --git a/_staffers/evil-kevin.md b/_staffers/evil-kevin.md deleted file mode 100644 index ff5264fd6e87ce87e95a73b34cbf1752de35020b..0000000000000000000000000000000000000000 --- a/_staffers/evil-kevin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Evil Kevin -role: Teaching Assistant -email: me@example.com -website: https://kevinl.info -photo: kevin.jpg ---- - -I like teaching Computer Science! diff --git a/_staffers/kevin-lin.md b/_staffers/kevin-lin.md new file mode 100644 index 0000000000000000000000000000000000000000..2c97f3c9cdf719625b4d12ceb2f173035884e101 --- /dev/null +++ b/_staffers/kevin-lin.md @@ -0,0 +1,10 @@ +--- +name: Kevin Lin +role: Instructor +email: kevinl@cs.uw.edu +website: https://kevinl.info +photo: kevin-lin.jpg +pronouns: he/him +--- + +[Schedule a meeting](https://kevinl.info/meet/){: .btn .btn-outline } diff --git a/_staffers/kevin.md b/_staffers/kevin.md deleted file mode 100644 index 7759a4f343aa8cd08a6b98f370222030eea8ed0e..0000000000000000000000000000000000000000 --- a/_staffers/kevin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Kevin Lin -role: Instructor -email: me@example.com -website: https://kevinl.info -photo: kevin.jpg ---- - -[Schedule an appointment](#){: .btn .btn-outline } diff --git a/_staffers/more-evil-kevin.md b/_staffers/more-evil-kevin.md deleted file mode 100644 index a416b3f5afb0a9fa86ecc4edd9507c36c8a8ef38..0000000000000000000000000000000000000000 --- a/_staffers/more-evil-kevin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: More Evil Kevin -role: Teaching Assistant -email: me@example.com -website: https://kevinl.info -photo: kevin.jpg ---- - -I like teaching Computer Science! diff --git a/_staffers/really-evil-kevin.md b/_staffers/really-evil-kevin.md deleted file mode 100644 index 377d0896d9ad6cce3a39ed934ab32e6006837d47..0000000000000000000000000000000000000000 --- a/_staffers/really-evil-kevin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Really Evil Kevin -role: Teaching Assistant -email: me@example.com -website: https://kevinl.info -photo: kevin.jpg ---- - -I like teaching Computer Science! diff --git a/assets/images/kevin.jpg b/assets/images/kevin-lin.jpg similarity index 100% rename from assets/images/kevin.jpg rename to assets/images/kevin-lin.jpg