diff --git a/longitude-one/meta-bundle/1.0/config/packages/meta.yaml b/longitude-one/meta-bundle/1.0/config/packages/meta.yaml new file mode 100644 index 00000000..0584b3a7 --- /dev/null +++ b/longitude-one/meta-bundle/1.0/config/packages/meta.yaml @@ -0,0 +1,13 @@ +longitude_one_meta: + defaults: + description: '' # Enter the default description and get contents with meta_description() function in your template", + title: '' # Enter the default title for your application and get contents with meta_title() function in your template", + 'og:image': "Feel free to add any tag and get their contents with meta('og:image') function or a filter: 'og:image'" + paths: + '/any-path': #for this path, default value will be replaced + description: 'A custom description for http://my_app/any-path' #for this path, default value will be replaced + title: 'A custom title for http://my_app/any-path' #for this path, default value will be replaced + # You can customize meta tags for any path + #'/another-path': + # description:'foo' + # title:'bar' diff --git a/longitude-one/meta-bundle/1.0/manifest.json b/longitude-one/meta-bundle/1.0/manifest.json new file mode 100644 index 00000000..8d488020 --- /dev/null +++ b/longitude-one/meta-bundle/1.0/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "LongitudeOne\\MetaBundle\\LongitudeOneMetaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/longitude-one/meta-bundle/1.0/post-install.txt b/longitude-one/meta-bundle/1.0/post-install.txt new file mode 100644 index 00000000..610408b7 --- /dev/null +++ b/longitude-one/meta-bundle/1.0/post-install.txt @@ -0,0 +1,8 @@ + + STAND WITH + UKRAINE + + + * The longitude-one/meta-bundle is almost ready: + 1. Feel free to edit the config/packages/meta.yaml file, this file is yours ; + 2. Use meta_description() meta_title() and meta('foo') in your templates to get custom description, title or the default ones.