aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/people_generic.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/_layouts/people_generic.html b/_layouts/people_generic.html
index 86e01bc..108828a 100644
--- a/_layouts/people_generic.html
+++ b/_layouts/people_generic.html
@@ -20,7 +20,12 @@ layout: page
<div class="section group">
{% endif %}
<div class="contact col span_1_of_2">
- <img class="contact__photo" style="max-height:200px; margin: 0 auto;" src="{{ site.url | append: site.baseurl }}/{{ member.picture }}" alt="">
+ {% if member.picture %}
+ {% assign picture_path = member.picture %}
+ {% else %}
+ {% assign picture_path = page.placeholder_img %}
+ {% endif %}
+ <img class="contact__photo" style="max-height:200px; margin: 0 auto;" src="{{ site.url | append: site.baseurl }}/{{ picture_path }}" alt="">
<h4 class="contact__person_name contact__person_name--generic">{{ member.name }}</h4>
{% if member.email %}
<div class="contact__section">