Fix to_liquid attribute mapping
Change how posts and pages are initialized
Reformat attribute declarations