aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html2
-rw-r--r--_layouts/hallitus.html2
-rw-r--r--_layouts/people_generic.html2
3 files changed, 2 insertions, 4 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 9081473..e4ab96f 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -1,8 +1,6 @@
<!DOCTYPE html>
<html>
- {% assign site_full_url = site.url | append: site.baseurl %}
-
{% include head.html %}
<body>
diff --git a/_layouts/hallitus.html b/_layouts/hallitus.html
index c355037..14a7263 100644
--- a/_layouts/hallitus.html
+++ b/_layouts/hallitus.html
@@ -16,7 +16,7 @@ layout: page
{% endif %}
<div class="contact col span_1_of_2">
<div class="contact-inline">
- <img class="contact__photo" style="max-height:200px; margin: 0 auto;" src="{{ site.url | append: site.baseurl }}/{{ person.picture }}" alt="">
+ <img class="contact__photo" style="max-height:200px; margin: 0 auto;" src="{{ person.picture | absolute_url }}" alt="">
<h3 class="contact__position_name contact__position_name--hallitus">{{ person.position_name }}</h3>
<h4 class="contact__person_name">{{ person.person_name }}</h4>
<div class="contact__section">
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">