public function render()
 {
     if ($this->pages) {
         $this->addPreviewsPage();
         $this->addAllPages();
         $this->addNextPage();
     }
     $this->nav->setContent($this->tag->render());
     return $this->nav->render();
 }