mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-04 17:37:26 +00:00
11ty: add config
This commit is contained in:
parent
83a4f35302
commit
66594590c8
1 changed files with 12 additions and 0 deletions
12
eleventy.config.mjs
Normal file
12
eleventy.config.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { EleventyI18nPlugin } from '@11ty/eleventy'
|
||||
|
||||
/**
|
||||
* @param {import('@11ty/eleventy').UserConfig} eleventyConfig
|
||||
*/
|
||||
export default function(eleventyConfig) {
|
||||
eleventyConfig.setInputDirectory('src')
|
||||
eleventyConfig.setOutputDirectory('build')
|
||||
eleventyConfig.addPlugin(EleventyI18nPlugin, {
|
||||
defaultLanguage: 'en'
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue