diff options
Diffstat (limited to 'layouts/index.html')
-rwxr-xr-x | layouts/index.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 3c7fcdf..7447984 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,6 +7,20 @@ </head> <body> + {{ with .Site.Params.videoBackgroud }} + <video class="video" autoplay muted preload loop playsinline> + {{ range .sources }} + <source + src="{{ .source }}" + type="{{ .type }}" + poster="{{ .poster }}" /> + {{ end }} + </video> + {{ with .overlay }} + <div id="overlay" style="background: {{ . | safeCSS }};"></div> + {{ end }} + {{ end }} + <nav role="navigation" class="flex-container" id="splash"> {{ if .Site.Params.mainMenu }} @@ -27,4 +41,4 @@ </nav> </body> -</html>
\ No newline at end of file +</html> |