{{ define "main" }} <section class="section pb-0"> <div class="container"> <div class="row"> {{ range .Pages }} <div class="col-lg-4 col-sm-6"> {{ partial "card-btn-ni" (dict "title" .Title "link" .Permalink) }} </div> {{ end }} </div> </div> </section> {{ end }}