Explorar o código

add robots.txt and sitemap

Olivier Massot hai 1 ano
pai
achega
ccf52a2f2c
Modificáronse 4 ficheiros con 957 adicións e 91 borrados
  1. 1 0
      nuxt.config.ts
  2. 1 0
      package.json
  3. 4 0
      public/robots.txt
  4. 951 91
      yarn.lock

+ 1 - 0
nuxt.config.ts

@@ -131,6 +131,7 @@ export default defineNuxtConfig({
     '@nuxt/devtools',
     'nuxt3-leaflet',
     '@nuxtjs/google-fonts',
+    '@nuxtjs/sitemap',
   ],
   router: {
     options: {

+ 1 - 0
package.json

@@ -32,6 +32,7 @@
     "@nuxtjs/date-fns": "^1.5.0",
     "@nuxtjs/google-fonts": "^3.2.0",
     "@nuxtjs/i18n": "^8.1.1",
+    "@nuxtjs/sitemap": "^5.2.0",
     "@pinia-orm/nuxt": "^1.7.0",
     "@pinia/nuxt": "^0.5.1",
     "@splidejs/vue-splide": "^0.6.12",

+ 4 - 0
public/robots.txt

@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://logiciels.opentalent.fr/sitemap.xml

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 951 - 91
yarn.lock


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio