{{ define "main" }} <section class="section-sm"> <div class="container"> <div class="row"> {{ .Content }} </div> <div class="row"> {{ range .Pages }} <div class="col-lg-4 col-sm-6"> {{ .Render "card-btn" }} </div> {{ end }} </div> </div> </section> {{ end }}