Add grid-cards style for videos widget

This commit is contained in:
Svilen Markov
2024-05-10 07:41:11 +01:00
parent 54102ae35e
commit 3c1fb97c12
8 changed files with 62 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
{{ template "widget-base.html" . }}
{{ define "widget-content-classes" }}widget-content-frameless{{ end }}
{{ define "widget-content" }}
<div class="cards-grid">
{{ range .Videos }}
<div class="card widget-content-frame thumbnail-container">
{{ template "video-card-contents" . }}
</div>
{{ end }}
</div>
{{ end }}