1
Fork 0

Ensure headers are the correct sizes for related content

This commit is contained in:
Jake Howard 2021-12-27 10:56:30 +00:00
parent be2ae9a716
commit 9c369fa8d9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -7,11 +7,11 @@
{{ $col := printf "col-md-%d" (div 12 (len $related)) }}
<div class="container mt-5 text-center">
<h3 class="m-0">Related content</h3>
<h2 class="m-0 h3">Related content</h2>
<div class="row">
{{ range $related }}
<div class="{{ $col }} mt-4">
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
<h3 class="h5"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "content-details.html" . }}
</div>
{{ end }}