Hi, I want to list some posts with my parameter
Please chk the code
<ul class="trending-items">
{{ range (where .Site.RegularPages ".Params.trending" "true") }}
<li class="trending-item"><a href="{{.Permalink | absURL }}" aria-label="{{ .Params.trendname | title}}">{{ .Params.trendname | title}}</a></li>
{{ end }}
</ul>
and here’s the front matter
trending: true
trendname: Windows 11 Release
But that doesn’t work.