Browse Source

added xmlsitemap #1903

bach 1 year ago
parent
commit
60ecc3f860

+ 1 - 0
composer.json

@@ -46,6 +46,7 @@
         "drupal/video_embed_field": "^2.4",
         "drupal/views_argument_token": "2.0.x-dev@dev",
         "drupal/views_conditional": "^1.4",
+        "drupal/xmlsitemap": "^1.3",
         "geocoder-php/google-maps-provider": "^4.6",
         "geocoder-php/mapquest-provider": "^4.2",
         "wikimedia/composer-merge-plugin": "^2.0"

+ 92 - 1
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "92b137f0174eb6369b1116a3fe8fa6e4",
+    "content-hash": "5599994af496a19e5df162e8dfbed11c",
     "packages": [
         {
             "name": "ajgl/breakpoint-twig-extension",
@@ -9704,6 +9704,97 @@
                 "source": "https://git.drupalcode.org/project/views_ef_fieldset"
             }
         },
+        {
+            "name": "drupal/xmlsitemap",
+            "version": "1.3.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/xmlsitemap.git",
+                "reference": "8.x-1.3"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/xmlsitemap-8.x-1.3.zip",
+                "reference": "8.x-1.3",
+                "shasum": "a2a20c5aab5682cc369d095cd2e21d67fc46df9b"
+            },
+            "require": {
+                "drupal/core": "^9",
+                "ext-xmlwriter": "*"
+            },
+            "require-dev": {
+                "drupal/config_readonly": "^1.0",
+                "drupal/metatag": "^1.0",
+                "drupal/robotstxt": "^1.0"
+            },
+            "suggest": {
+                "drush/drush": "Command-line regenerating and rebuilding sitemaps."
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.3",
+                    "datestamp": "1658327425",
+                    "security-coverage": {
+                        "status": "covered",
+                        "message": "Covered by Drupal's security advisory policy"
+                    }
+                },
+                "drush": {
+                    "services": {
+                        "drush.services.yml": "^9 || ^10"
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0-or-later"
+            ],
+            "authors": [
+                {
+                    "name": "amateescu",
+                    "homepage": "https://www.drupal.org/user/729614"
+                },
+                {
+                    "name": "andrei.dincu",
+                    "homepage": "https://www.drupal.org/user/2628879"
+                },
+                {
+                    "name": "Dave Reid",
+                    "homepage": "https://www.drupal.org/user/53892"
+                },
+                {
+                    "name": "juampynr",
+                    "homepage": "https://www.drupal.org/user/682736"
+                },
+                {
+                    "name": "paulmckibben",
+                    "homepage": "https://www.drupal.org/user/279003"
+                },
+                {
+                    "name": "pifagor",
+                    "homepage": "https://www.drupal.org/user/2375692"
+                },
+                {
+                    "name": "RenatoG",
+                    "homepage": "https://www.drupal.org/user/3326031"
+                },
+                {
+                    "name": "tadityar",
+                    "homepage": "https://www.drupal.org/user/3094465"
+                },
+                {
+                    "name": "th_tushar",
+                    "homepage": "https://www.drupal.org/user/1835276"
+                }
+            ],
+            "description": "Creates XML Sitemaps for the site",
+            "homepage": "https://www.drupal.org/project/xmlsitemap",
+            "support": {
+                "source": "https://git.drupalcode.org/project/xmlsitemap",
+                "issues": "http://drupal.org/project/issues/xmlsitemap"
+            }
+        },
         {
             "name": "drush/drush",
             "version": "10.6.2",

+ 1 - 0
config/sync/core.extension.yml

@@ -150,6 +150,7 @@ module:
   menu_admin_per_menu: 1
   pathauto: 1
   selective_better_exposed_filters: 1
+  xmlsitemap: 1
   content_translation: 10
   views: 10
   paragraphs: 11

+ 3 - 0
config/sync/xmlsitemap.settings.menu_link_content.menu_link_content.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.5
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.actualite.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.5
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.evenement.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.5
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.programme.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.9
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.projet.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.8
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.ressource.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.7
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.static.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.5
+changefreq: 60

+ 3 - 0
config/sync/xmlsitemap.settings.node.theme.yml

@@ -0,0 +1,3 @@
+status: true
+priority: 0.6
+changefreq: 60

+ 17 - 0
config/sync/xmlsitemap.settings.yml

@@ -0,0 +1,17 @@
+_core:
+  default_config_hash: 58nI4vVTGv677fB42ySkQN9iTenfZvvW-xJlXODHdV4
+langcode: fr
+minimum_lifetime: 0
+xsl: 1
+prefetch_aliases: 1
+chunk_size: auto
+batch_limit: 100
+path: xmlsitemap
+frontpage_priority: !!float 1
+frontpage_changefreq: 86400
+lastmod_format: 'Y-m-d\TH:i\Z'
+gz: false
+clean_url: 0
+disable_cron_regeneration: false
+i18n_selection_mode: simple
+metatag_exclude_noindex: true

+ 8 - 0
config/sync/xmlsitemap.xmlsitemap.2e9ZfIfLFCC0V-PbcDKUTb1Wk22XgjzJ6f-b16CFlPE.yml

@@ -0,0 +1,8 @@
+uuid: 719f2dda-6a62-42d0-a1d6-6414710913e3
+langcode: fr
+status: true
+dependencies: {  }
+id: 2e9ZfIfLFCC0V-PbcDKUTb1Wk22XgjzJ6f-b16CFlPE
+label: default
+context:
+  language: fr