Added support for linked posts in post layout