private function replaceThemeInsertTag($tagType, $themeTag)
    {
        $this->framework->initialize();
        switch ($tagType) {
            // get article content by theme helper tag
            case 'content':
                /** @var ArticleModel $adapter */
                $adapter = $this->framework->getAdapter(ArticleModel::class);
                if (null === ($article = $adapter->findOneBy('pdir_th_tag', $themeTag))) {
                    return '';
                }
                return $this->generateArticleReplacement($article);
                break;
        }
        return false;
    }