1
0
hugo/layouts/video/single.html
2024-04-23 22:21:26 +09:00

23 lines
531 B
HTML

{{ 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>