Ensure headers are the correct sizes for related content
This commit is contained in:
parent
be2ae9a716
commit
9c369fa8d9
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@
|
||||||
{{ $col := printf "col-md-%d" (div 12 (len $related)) }}
|
{{ $col := printf "col-md-%d" (div 12 (len $related)) }}
|
||||||
|
|
||||||
<div class="container mt-5 text-center">
|
<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">
|
<div class="row">
|
||||||
{{ range $related }}
|
{{ range $related }}
|
||||||
<div class="{{ $col }} mt-4">
|
<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" . }}
|
{{ partial "content-details.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue