fix author posts display
All checks were successful
website-main / prod-build (push) Successful in 1m18s
website-main / test-build (push) Successful in 1m12s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
Denys Konovalov 2023-06-21 10:41:03 +02:00
parent c38b1f0981
commit e7f5024f48

@ -37,7 +37,7 @@
<h2 class="mb-4">{{ i18n "posted_by" }} {{ .Title }}</h2>
</div>
</div>
{{ range where .Site.RegularPages "Params.author" (.Title | title) }}
{{ range where .Site.RegularPages "Params.author" "intersect" (slice .File.BaseFileName) }}
<div class="col-lg-4 col-sm-6 mb-4">
{{ .Render "card" }}
</div>