{{ $headings := findRE "(.|\n])+?" .Content }} {{ if ge (len $headings) 2 }} {{ end }}