store post metadata by reference, not value
sorting posts for further index generation
WIP: rendering of posts templates