getting post layouts