bring up to date with theme repo
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
235c20c5f7
commit
ea5fa12d3e
@ -3,11 +3,11 @@
|
|||||||
<div class="h-feed">
|
<div class="h-feed">
|
||||||
{{ range (.Paginator 10).Pages }}
|
{{ range (.Paginator 10).Pages }}
|
||||||
|
|
||||||
{{ if in .Params.category "tv"}}
|
{{ if in .Params.categories "tv"}}
|
||||||
|
|
||||||
{{- partial "video_box.html" . -}}
|
{{- partial "video_box.html" . -}}
|
||||||
|
|
||||||
{{ else if in .Params.category "calendar" }}
|
{{ else if in .Params.categories "calendar" }}
|
||||||
|
|
||||||
{{- partial "calendar_card.html" . -}}
|
{{- partial "calendar_card.html" . -}}
|
||||||
|
|
||||||
|
@ -8,7 +8,12 @@
|
|||||||
)">
|
)">
|
||||||
<img src="{{.Site.BaseURL}}{{ .File.Dir }}{{ .Params.preview_image }}">
|
<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>
|
<div class="video-thumbnail-duration-overlay">{{.Params.video_duration}}</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="play-overlay">
|
<div class="play-overlay">
|
||||||
<div class="play-icon"></div>
|
<div class="play-icon"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -20,7 +25,13 @@
|
|||||||
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uuid }}'/>
|
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uuid }}'/>
|
||||||
<label class='video' for='toggle-{{ .Params.uuid }}'>↕</label>
|
<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='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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -282,7 +282,11 @@ footer.post-footer {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description p {
|
.description p:first-of-type {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description ul:first-of-type {
|
||||||
margin:0;
|
margin:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user