/** * Load post data to the template. * * @param PostInterface $post */ public function load(PostInterface $post) { $this->template->set('title', $post->getTitle()); $this->template->set('meta_title', $post->getMetaTitle()); $this->template->set('meta_keywords', $post->getMetaKeywords()); $this->template->set('meta_description', $post->getMetaDescription()); }