diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md deleted file mode 100644 index 54f9ea4..0000000 --- a/CONTRIBUTORS.md +++ /dev/null @@ -1,4 +0,0 @@ -# Contributors - -- [deblan](https://gitnet.fr/deblan) -- smainz diff --git a/composer.json b/composer.json index 636f15f..2d27aa6 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,6 @@ "require": { "symfony/mailer": "^7.0", "twig/twig": "^3.8", - "symfony/google-mailer": "^7.1", - "twig/extra-bundle": "^3.20", - "twig/cssinliner-extra": "^3.20" + "symfony/google-mailer": "^7.1" } } diff --git a/src/Factory/TwigFactory.php b/src/Factory/TwigFactory.php index 74b487b..7d176b2 100644 --- a/src/Factory/TwigFactory.php +++ b/src/Factory/TwigFactory.php @@ -5,7 +5,6 @@ namespace Plugin\Factory; use Twig\Environment; use Twig\Extension\DebugExtension; use Twig\Extension\StringLoaderExtension; -use Twig\Extra\CssInliner\CssInlinerExtension; use Twig\Loader\FilesystemLoader; class TwigFactory @@ -17,7 +16,6 @@ class TwigFactory $twig = new Environment($loader); $twig->addExtension(new StringLoaderExtension()); $twig->addExtension(new DebugExtension()); - $twig->addExtension(new CssInlinerExtension()); return $twig; } diff --git a/templates/_base.html.twig b/templates/_base.html.twig index 52d799c..fb803c5 100644 --- a/templates/_base.html.twig +++ b/templates/_base.html.twig @@ -1,5 +1,4 @@ -{% apply inline_css %} @@ -208,4 +207,3 @@ {% endblock %} -{% endapply %}