diff --git a/src/Generator/Assets.php b/src/Generator/Assets.php index 686d2b5..8b3fa89 100644 --- a/src/Generator/Assets.php +++ b/src/Generator/Assets.php @@ -92,13 +92,7 @@ private function saveLayout(string $content, string $outputFile): void private function saveSection(string $content, string $outputFile): void { - $template = $content; - - $this->replaceHttpAuth($template); - $this->replaceTitle($template, $content); - $this->replaceContent($template, $content); - - file_put_contents($outputFile, $this->minifyHtml($template)); + file_put_contents($outputFile, $this->minifyHtml($content)); }