diff options
| author | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 23:09:06 +0200 |
|---|---|---|
| committer | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 23:09:06 +0200 |
| commit | 6fb186d18008e24e97212c27a3f60138965aa33e (patch) | |
| tree | 66060c55c4e85719ec62f846ff027383bbba288d /_layouts/hallitus.html | |
| parent | df4d2a345886f0114684358a91c9b4ba2fc8cb73 (diff) | |
Use absolute_url filter instead of a custom variable for URLs
Diffstat (limited to '_layouts/hallitus.html')
| -rw-r--r-- | _layouts/hallitus.html | 2 |
1 files changed, 1 insertions, 1 deletions
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"> |
