1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{{- define "title" -}} {{.Title}} {{- end -}} {{- define "main" -}} <div class='container'> <div class='section is-small'> <h1 class='title' title='{{.Title}}' aria-label='{{.Title}}'> {{- .Title -}} </h1> <div class='content'> {{- .Content -}} </div><!-- content --> </div><!-- section --> </div><!-- container --> {{- end -}}