layout fix

This commit is contained in:
Denys Konovalov 2023-02-08 16:03:47 +01:00
parent a780fc9516
commit cff1b3986b

@ -35,10 +35,10 @@
</ul>
</div>
<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">
{{ range first 3 (where .Site.RegularPages "Type" "post")}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ range first 5 (where .Site.RegularPages "Type" "post")}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title | truncate 35 }}</a></li>
{{ end }}
</ul>
</div>