separated blog post into directive