layout fix

This commit is contained in:
Denys Konovalov 2023-02-08 16:03:47 +01:00
parent a673b00909
commit 9cfb7ead4d

View File

@ -35,10 +35,10 @@
</ul> </ul>
</div> </div>
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0"> <div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
<h4 class="text-white mb-5 text-uppercase">{{ i18n "latest_article" }}</h4> <h4 class="text-white mb-5 text-uppercase">Aktuelles</h4>
<ul class="list-unstyled"> <ul class="list-unstyled">
{{ range first 3 (where .Site.RegularPages "Type" "post")}} {{ range first 5 (where .Site.RegularPages "Type" "post")}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li> <li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title | truncate 35 }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>