mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-18 04:27:06 +02:00
- add nuxtjs/sitemap for an automatic sitemap generator - add auto-generated explicit redirects for docs pages: right now, if you navigate to a deep docs page (/docs/v0.5/en/guides/cloud/aws, for instance), you will get an HTTP 404 from Netlify because the page doesn't exist on disk, but the resulting single-page-app javascript will show you the content. These redirects are an attempt to solve the 404 problem which probably affects search engines. Signed-off-by: Timothy Gerla <tim@gerla.net>
10 lines
407 B
JavaScript
10 lines
407 B
JavaScript
module.exports = {
|
|
defaultLanguage: `en`,
|
|
availableRoutesFile: `${__dirname}/routes.json`,
|
|
contentInputFolder: `${__dirname}/content/`,
|
|
menuInputFile: `${__dirname}/content/{version}.{lang}.json`,
|
|
menuOutputFile: `${__dirname}/static/{version}.menu.{lang}.json`,
|
|
sectionsOutputFile: `${__dirname}/static/{version}.sections.{lang}.json`,
|
|
redirectsOutputFile: `${__dirname}/static/_redirects`
|
|
}
|