text templates actually render headers now

text templates also will not render sections with no content
added specs for checking for rendered content