aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts/people_generic.html
diff options
context:
space:
mode:
authorVeikka Kähkönen <insiding@gmail.com>2017-11-27 23:09:06 +0200
committerVeikka Kähkönen <insiding@gmail.com>2017-11-27 23:09:06 +0200
commit6fb186d18008e24e97212c27a3f60138965aa33e (patch)
tree66060c55c4e85719ec62f846ff027383bbba288d /_layouts/people_generic.html
parentdf4d2a345886f0114684358a91c9b4ba2fc8cb73 (diff)
Use absolute_url filter instead of a custom variable for URLs
Diffstat (limited to '_layouts/people_generic.html')
-rw-r--r--_layouts/people_generic.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/people_generic.html b/_layouts/people_generic.html
index 108828a..28b73c1 100644
--- a/_layouts/people_generic.html
+++ b/_layouts/people_generic.html
@@ -25,7 +25,7 @@ layout: page
{% 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="">
+ <img class="contact__photo" style="max-height:200px; margin: 0 auto;" src="{{ picture_path | absolute_url }}" alt="">
<h4 class="contact__person_name contact__person_name--generic">{{ member.name }}</h4>
{% if member.email %}
<div class="contact__section">