layout fix

This commit is contained in:
Denys Konovalov 2023-02-08 16:03:47 +01:00
parent 8cf6c0f028
commit 22dcd7a96f

View File

@ -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>