aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-06-11 12:45:24 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-06-11 12:47:46 +0200
commit89e80894329d7c78c6d8ff881e31baed306ca0a7 (patch)
treedeedcf5d35bac36d2cc78af938263d3898f92cf2
parentcf8aded09439d0e03141ddf0a840ad56d9432fc5 (diff)
index.html: Set videos
-rw-r--r--layouts/index.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index bca3963..dba44df 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,11 +13,8 @@
<h2 class="text-white-50 mx-auto mt-2 mb-5">{{ .header.description }}</h2>
<a class="btn btn-primary" href="{{ .header.button.url }}">{{ .header.button.text }}</a>
<a class="btn btn-secondary" href="{{ .header.src_button.url }}">{{ .header.src_button.text }}</a>
- <p class="mx-auto text-white-50 mt-3 mb-3 text-uppercase">
- Introduction video
- </p>
<p>
- <video class="" autoplay="false" src="{{ .header.video }}" width="480"></video>
+ <video class="mt-4" autoplay="true" src="{{ .header.slides }}" loop="true"></video>
</p>
<p>
{{ with site.Data.homepage.about }}
@@ -28,6 +25,12 @@
{{ end }}
</p>
{{ end }}
+ <p class="mx-auto text-white-50 mt-3 mb-3 text-uppercase">
+ Latest release
+ </p>
+ <p>
+ <video src="{{ .header.latest_release }}" width="480" controls="true" preload="metadata"></video>
+ </p>
{{ end }}
</div>
</div>