1
0
hugo/layouts/video/single.html

23 lines
531 B
HTML
Raw Permalink Normal View History

2024-04-23 13:21:26 +00:00
{{ partial "head-ai.html" . }}
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
<article>
<div class="content">
{{ with .Resources.Match "*.mp4" }}
<div class="Carousel__slide">
<p>
{{ range . }}
{{ $s := index (split .RelPermalink "/") 3 }}
<h3 id="{{ $s }}"><a href="#{{ $s }}">{{ $s }}</h3>
<video controls style="width:100%;"><source src="{{ .RelPermalink }}"></video>
{{ end }}
</p>
</div>
{{ end }}
</div>
</article>
</div>
{{ partial "footer.html" . }}
</body>
</html>