diff --git a/themes/lumbung-theme/layouts/index.html b/themes/lumbung-theme/layouts/index.html index 422a4fc..b7872fc 100644 --- a/themes/lumbung-theme/layouts/index.html +++ b/themes/lumbung-theme/layouts/index.html @@ -3,11 +3,11 @@
{{ range (.Paginator 10).Pages }} - {{ if in .Params.category "tv"}} + {{ if in .Params.categories "tv"}} {{- partial "video_box.html" . -}} - {{ else if in .Params.category "calendar" }} + {{ else if in .Params.categories "calendar" }} {{- partial "calendar_card.html" . -}} diff --git a/themes/lumbung-theme/layouts/partials/video_box.html b/themes/lumbung-theme/layouts/partials/video_box.html index 1ad22af..711800e 100644 --- a/themes/lumbung-theme/layouts/partials/video_box.html +++ b/themes/lumbung-theme/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 }} + +
diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 919c8c2..1e4a0e3 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -282,7 +282,11 @@ footer.post-footer { flex-wrap: wrap; } -.description p { +.description p:first-of-type { + margin:0; +} + +.description ul:first-of-type { margin:0; }