본문으로 건너뛰기

Options

Every option is optional. The defaults are shown in the last column.

OptionTypeDefaultPurpose
footer{ enabled }enabledShared footer and attribution
promoto{ enabled }enabledPromote card
languageSelector{ enabled }enabledLocale checks for the navbar dropdown
analytics.googleAnalytics{ enabled, measurementId }enabledGoogle Analytics in production
analytics.fiftyOneLa{ enabled, siteId }enabled51LA in production
seo{ enabled, image, organization }enabledJSON-LD and the default sharing image
sitemap{ enabled }enabledFallback sitemap.xml
robots{ enabled }enabledrobots.txt from the default-locale build
rss{ enabled, includeDocs, includeBlog }enabled, both includedPer-locale rss.xml
linkssite links objectbuilt inFooter link customization
noIndexbooleanfalseSkip sitemap and robots output

A feature is turned off with an object, for example sitemap: { enabled: false }. Bare booleans are rejected with an error that names the option.

Discovery files​

A static/robots.txt or static/rss.xml in your site takes precedence over the generated file of the same name.