Przeglądaj źródła

add robots.txt and sitemap

Olivier Massot 1 rok temu
rodzic
commit
ccf52a2f2c
4 zmienionych plików z 957 dodań i 91 usunięć
  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

Plik diff jest za duży
+ 951 - 91
yarn.lock


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików