{{ define "main" }} <div class="container"> <div class="row"> <div class="col-12"> {{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }} </div> </div> </div> {{ end }}