<section class="cad-list"> {{ $pages := where site.RegularPages ".Params.tags" "intersect" (slice "cad-shootout") }} {{- with $pages }} {{ range .ByPublishDate }} <article> <time datetime="{{ .Date | time.Format "2006-01-02"}}">{{ .Date | time.Format "2006-01-02"}}</time> <a class="title" href="{{ .RelPermalink }}">{{ with .Params.Software }}{{.}}{{else}}{{.Title}}{{end}}</a> {{ with .Params.License }} <section class="license">{{.}}</section> {{end}} </article> {{ end }} {{ end }} </section>