From 5ab7b9d071ff836ac4341a30788eddc1bec64674 Mon Sep 17 00:00:00 2001 From: rra Date: Thu, 15 Jul 2021 17:45:17 +0200 Subject: [PATCH] add live for livestream type videos --- layouts/partials/video_box.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/layouts/partials/video_box.html b/layouts/partials/video_box.html index 1ad22af..711800e 100644 --- a/layouts/partials/video_box.html +++ b/layouts/partials/video_box.html @@ -7,8 +7,13 @@ 'https://tv.lumbung.space/videos/embed/{{ .Params.uuid }}' )"> - + + {{ if .Params.is_live}} +
LIVE
+ {{ else }}
{{.Params.video_duration}}
+ {{ end }} +
@@ -20,7 +25,13 @@
{{ .Date.Format "Jan 02, 2006" }}
-
{{ .Content }}
+
{{ .Content }} + +