Different templates when p tag is open