variablizing

This commit is contained in:
Set Sakrecoer 2019-08-26 20:55:21 +02:00
parent 9ccf3e6e64
commit 1fb0301b8a

View file

@ -1,9 +1,9 @@
--- ---
title: Greetings Robot! title: Greetings Robot!
description: 'The motherweb of Sakrecoer. Music, art, thoughts and passion.' description: 'The motherweb of Sakrecoer. Music, art, thoughts and passion.'
image: image: /siteicon.png
mp4_path: mp4_path: /assets/vi/0001-0076.mp4
webm_path: webm_path: /assets/vi/0001-0076.webm
--- ---
<div id="hero"> <div id="hero">
@ -28,8 +28,8 @@ webm_path:
</div> </div>
<div class="fullscreen-bg"> <div class="fullscreen-bg">
<video loop muted autoplay poster="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video"> <video loop muted autoplay poster="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video">
<source src="{{ site.baseurl }}/assets/vi/0001-0076.webm" type="video/webm"> <source src="{{ site.baseurl }}{{ page.webm_path }}" type="video/webm">
<source src="{{ site.baseurl }}/assets/vi/0001-0076.mp4" type="video/mp4"> <source src="{{ site.baseurl }}{{ page.mp4_path }}" type="video/mp4">
<!-- <source src="video/big_buck_bunny.ogv" type="video/ogg"> --> <!-- <source src="video/big_buck_bunny.ogv" type="video/ogg"> -->
</video> </video>
</div> </div>