/** * Generate the module */ protected function compile() { \Contao\ModuleArticle::compile(); $this->Template->show_tags = $this->tags_showtags; if ($this->tags_showtags) { $this->Template->tags = $this->getTagsForArticle($this->tags_max_tags, $this->tags_relevance, $this->tags_jumpto); } }