Fix headings mixin

Closes #94

This one was tricky.