bring up to date with theme repo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
rra 2021-07-29 08:15:47 +02:00
parent 235c20c5f7
commit ea5fa12d3e
3 changed files with 20 additions and 5 deletions

View File

@ -3,11 +3,11 @@
<div class="h-feed">
{{ 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" . -}}

View File

@ -7,8 +7,13 @@
'https://tv.lumbung.space/videos/embed/{{ .Params.uuid }}'
)">
<img src="{{.Site.BaseURL}}{{ .File.Dir }}{{ .Params.preview_image }}">
{{ if .Params.is_live}}
<div class="video-thumbnail-duration-overlay">LIVE</div>
{{ else }}
<div class="video-thumbnail-duration-overlay">{{.Params.video_duration}}</div>
{{ end }}
<div class="play-overlay">
<div class="play-icon"></div>
</div>
@ -20,7 +25,13 @@
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uuid }}'/>
<label class='video' for='toggle-{{ .Params.uuid }}'></label>
<div class='video date'> <a href='https://tv.lumbung.space/videos/watch/{{ .Params.uuid }}'> {{ .Date.Format "Jan 02, 2006" }}</a></div>
<div class="description video" id='vid-{{ .Params.uuid }}'> {{ .Content }}</div>
<div class="description video" id='vid-{{ .Params.uuid }}'> {{ .Content }}
<ul>
{{ range (.GetTerms "categories") }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
</div>
</div>
</div>

View File

@ -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;
}