Fix relative links

This commit is contained in:
Jeremy Thomas
2018-10-12 11:23:32 +01:00
parent 6fe3eb0b74
commit 957a45a50c
18 changed files with 57 additions and 53 deletions

View File

@@ -102,10 +102,10 @@ videos:
<div class="column is-8 is-offset-1">
<a class="image" href="{{ video.video_url }}" target="_blank" rel="nofollow">
{% if video.no_video %}
<img src="/images/videos/{{ video.id }}.png" alt="{{ video.title }} screenshot">
<img src="{{ site.url }}/images/videos/{{ video.id }}.png" alt="{{ video.title }} screenshot">
{% else %}
<video autoplay loop muted>
<source media="(min-width: 640px)" src="/images/videos/{{ video.id }}.mp4">
<source media="(min-width: 640px)" src="{{ site.url }}/images/videos/{{ video.id }}.mp4">
</video>
{% endif %}
</a>