diff --git a/config/packages/sylius_twig_hooks.yaml b/config/packages/sylius_twig_hooks.yaml index 5ec5f11d..4666a51a 100644 --- a/config/packages/sylius_twig_hooks.yaml +++ b/config/packages/sylius_twig_hooks.yaml @@ -28,9 +28,19 @@ sylius_twig_hooks: 'sylius_shop.base#stylesheets': override: template: "css_override.html.twig" - priority: 100 + priority: -10 'sylius_shop.account.login.content.login_container': analytics: template: "shop_demo_credentials.html.twig" priority: 150 + + 'sylius_shop.homepage.index#metatags': + homepage_metatags: + template: "homepage_metatags.html.twig" + priority: 150 + + 'sylius_shop.base#metatags': + homepage_metatags: + template: "shop_metatags.html.twig" + priority: 150 diff --git a/templates/css_override.html.twig b/templates/css_override.html.twig index b161d01f..b7d9619a 100644 --- a/templates/css_override.html.twig +++ b/templates/css_override.html.twig @@ -1 +1 @@ - \ No newline at end of file + diff --git a/templates/homepage_metatags.html.twig b/templates/homepage_metatags.html.twig new file mode 100644 index 00000000..d3404bfd --- /dev/null +++ b/templates/homepage_metatags.html.twig @@ -0,0 +1 @@ + diff --git a/templates/shop_demo_credentials.html.twig b/templates/shop_demo_credentials.html.twig index 5a543750..adc95553 100644 --- a/templates/shop_demo_credentials.html.twig +++ b/templates/shop_demo_credentials.html.twig @@ -1,5 +1,5 @@
Username: shop@example.com
Password: sylius
diff --git a/templates/shop_metatags.html.twig b/templates/shop_metatags.html.twig
new file mode 100644
index 00000000..d3404bfd
--- /dev/null
+++ b/templates/shop_metatags.html.twig
@@ -0,0 +1 @@
+
diff --git a/translations/messages.en.yml b/translations/messages.en.yml
index 8b25a3ef..6e3802ff 100644
--- a/translations/messages.en.yml
+++ b/translations/messages.en.yml
@@ -1,2 +1,3 @@
sylius_demo:
verification_link_flash: 'For demo purposes you can visit %url% to verify the account.'
+ meta_description: 'Explore the Sylius – a flexible e-commerce platform built on Symfony. Discover features to customize your online store and test its capabilities!'