Intégrations incluses
Référence du schéma des options de configuration de l’intégration StudioCMS
export default defineStudioCMSConfig({ includedIntegrations: { robotsTXT: true },});
robotsTXT
'Read the “', robotsTXT, '” section'robotsTXT
est un booléen ou un objet utilisé pour déterminer si le fichier robots.txt est activé.
- Type :
boolean
|RobotsConfig
|undefined
- Par défaut :
true
Utilisation
'Read the “', Utilisation, '” section'export default defineStudioCMSConfig({ includedIntegrations: { robotsTXT: true, // PAR DÉFAUT - Ceci active le fichier robots.txt. }})
RobotsConfig
'Read the “', RobotsConfig, '” section'interface RobotsConfig { host?: boolean | string; sitemap?: boolean | string | string[]; policy?: { userAgent?: string; disallow?: string | string[]; allow?: string | string[]; crawlDelay?: number; cleanParam?: string | string[]; }[] | undefined;}