diff --git a/src/Widget/SeoInjectorWidget.php b/src/Widget/SeoInjectorWidget.php index 5f3ac18..62ab5d6 100644 --- a/src/Widget/SeoInjectorWidget.php +++ b/src/Widget/SeoInjectorWidget.php @@ -24,7 +24,7 @@ public function run(array $params = []): ?string /** @var Request $request */ $request = $this->getExtension()->getRequest(); - if (! \in_array($request->get('_route'), ['bolt_content_edit', 'bolt_content_new'], true) || + if (! \in_array($request->get('_route'), ['bolt_content_edit', 'bolt_content_new', 'bolt_content_duplicate'], true) || ($this->getExtension()->getRequest()->getMethod() !== 'GET')) { return null; }