move permalink to post layout