realtive paths

This commit is contained in:
Set Hallstrom 2020-01-13 17:44:10 +01:00
parent cf9f74516f
commit 6dd63fd195
11 changed files with 77 additions and 54 deletions

View file

@ -5,7 +5,7 @@ image: /siteicon.png
mp4_path: /assets/vi/0001-0076.mp4
webm_path: /assets/vi/0001-0076.webm
---
{% include relBase.html %}
<div id="hero">
<div class="pivot">
<h1>{{ site.title }}</h1>
@ -15,16 +15,16 @@ webm_path: /assets/vi/0001-0076.webm
</div>
<div class="pivot">
<h2>You are here</h2>
<h1><a href="/about/" alt="About Sakrecoer">Where am I?</a></h1>
<h1><a href="{{ relBase }}/about/" alt="About Sakrecoer">Where am I?</a></h1>
</div>
<div class="pivot">
<h2>Stream</h2>
<h1><a href="/music/" alt="Music of Sakrecoer">Music</a></h1>
<h1><a href="{{ relBase }}/music/" alt="Music of Sakrecoer">Music</a></h1>
</div>
<div class="fullscreen-bg">
<video loop muted autoplay poster="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video">
<source src="{{ site.baseurl }}{{ page.webm_path }}" type="video/webm">
<source src="{{ site.baseurl }}{{ page.mp4_path }}" type="video/mp4">
<video loop muted autoplay poster="{{ relBase }}/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video">
<source src="{{ relBase }}{{ page.webm_path }}" type="video/webm">
<source src="{{ relBase }}{{ page.mp4_path }}" type="video/mp4">
</video>
</div>
</div>