/**
  * Parse
  *
  * @return void
  */
 private function parse()
 {
     // add CSS and JS
     $this->header->addCSS('/src/Frontend/Modules/' . $this->getModule() . '/Layout/Css/slideshow.css');
     // add JS
     $this->addJS('Settings.js');
     // set meta
     $this->header->setPageTitle($this->record['meta_title'], $this->record['title_overwrite'] == 'Y');
     $this->header->addMetaDescription($this->record['meta_description'], $this->record['description_overwrite'] == 'Y');
     $this->header->addMetaKeywords($this->record['meta_keywords'], $this->record['keywords_overwrite'] == 'Y');
     // assign
     $this->tpl->assign('slideshow', $this->slides);
     $this->tpl->assign('gallery', $this->gallery);
     // assign navigation
     $this->tpl->assign('navigation', FrontendSlideshowModel::getNavigation($this->record['gallery_id']));
     // should we use the settings per slide or the module settings
     if ($this->get('fork.settings')->get('Slideshow', 'settings_per_slide')) {
         $settings = FrontendSlideshowModel::getAllSettings($this->record['gallery_id']);
         $settings['id'] = $this->record['gallery_id'];
     } else {
         $settings = $this->get('fork.settings')->getForModule('Slideshow');
         $settings['id'] = $this->record['gallery_id'];
     }
     // pass settings to JS
     $this->addJSData('slideshowSettings', $settings);
 }