From 97e66b727e256c763928273df1b48611168e84d4 Mon Sep 17 00:00:00 2001 From: ElectricMaxxx Date: Fri, 8 Sep 2017 18:59:05 +0200 Subject: [PATCH] create recipe --- .../2.0/config/packages/cmf_seo_bundle.yaml | 28 +++++++++++++++++++ .../2.0/config/routes/cmf_seo_bundle.yaml | 3 ++ symfony-cmf/seo-bundle/2.0/manifest.json | 8 ++++++ 3 files changed, 39 insertions(+) create mode 100644 symfony-cmf/seo-bundle/2.0/config/packages/cmf_seo_bundle.yaml create mode 100644 symfony-cmf/seo-bundle/2.0/config/routes/cmf_seo_bundle.yaml create mode 100644 symfony-cmf/seo-bundle/2.0/manifest.json diff --git a/symfony-cmf/seo-bundle/2.0/config/packages/cmf_seo_bundle.yaml b/symfony-cmf/seo-bundle/2.0/config/packages/cmf_seo_bundle.yaml new file mode 100644 index 00000000..d42c03c0 --- /dev/null +++ b/symfony-cmf/seo-bundle/2.0/config/packages/cmf_seo_bundle.yaml @@ -0,0 +1,28 @@ +# Read the documentation: http://symfony.com/doc/master/cmf/bundles/seo/configuration.html +cmf_seo: +# persistence: +# phpcr: +# enabled: true +# title: %%content_title%% | Symfony2 CMF +# description: The Symfony2 Content Management Framework. %%content_description%% +# sitemap: +# enabled: true +# defaults: +# default_change_frequency: always +# templates: +# html: :sitemap/index.html.twig +# xml: ::sitemap:index.xml.twig +# loaders: +# - _all +# guessers: +# - _all +# voters: +# - _all +# configurations: +# sitemap: ~ +# error: +# exclusion_rules: +# - { path: ^/admin } +# alternate_locale: +# enabled: true +# provider_id: app.alternate_locale.provider diff --git a/symfony-cmf/seo-bundle/2.0/config/routes/cmf_seo_bundle.yaml b/symfony-cmf/seo-bundle/2.0/config/routes/cmf_seo_bundle.yaml new file mode 100644 index 00000000..7769bf75 --- /dev/null +++ b/symfony-cmf/seo-bundle/2.0/config/routes/cmf_seo_bundle.yaml @@ -0,0 +1,3 @@ +sitemaps: + prefix: /sitemaps + resource: "@CmfSeoBundle/Resources/config/routing/sitemap.xml" diff --git a/symfony-cmf/seo-bundle/2.0/manifest.json b/symfony-cmf/seo-bundle/2.0/manifest.json new file mode 100644 index 00000000..d0755dd3 --- /dev/null +++ b/symfony-cmf/seo-bundle/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Symfony\\Cmf\\Bundle\\SeoBundle\\CmfSeoBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}