pages/layouts/videos/list.html
Thomas A. Christensen II c875b93617
Replace every instance of .Permalink with .RelPermalink
Hugo can't figure out how to sort out http vs https, which causes issues
in Chromium-based browsers. Fix that by only using relative links.
2023-02-09 17:30:03 -06:00

33 lines
562 B
HTML

{{ define "main" }}
{{ partial "scrolling-image-header" . }}
<section class="container-fluid list-main">
<div class="container px-5">
{{ .Content }}
<div class="row">
{{ range .Pages }}
<div class="col-sm-4">
<a href="{{ .RelPermalink }}">
<img
class="img-fluid img-thumbnail rounded"
src="{{ .Params.thumbnail }}"
alt="Thumbnail of {{ .Title }}"
/>
<h4>{{ .Title }}</h4>
</a>
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}