diff --git a/eleventy.config.mjs b/eleventy.config.mjs index 0c1932a..ff5f1f1 100644 --- a/eleventy.config.mjs +++ b/eleventy.config.mjs @@ -1,4 +1,5 @@ import { EleventyI18nPlugin } from '@11ty/eleventy' +import { IdAttributePlugin } from '@11ty/eleventy' /** * @param {import('@11ty/eleventy').UserConfig} eleventyConfig @@ -15,4 +16,5 @@ export default function(eleventyConfig) { eleventyConfig.addPlugin(EleventyI18nPlugin, { defaultLanguage: 'en', }) + eleventyConfig.addPlugin(IdAttributePlugin) } diff --git a/src/_assets/css/base.css b/src/_assets/css/base.css index 9fac760..5a6c90d 100644 --- a/src/_assets/css/base.css +++ b/src/_assets/css/base.css @@ -1,6 +1,7 @@ html, body { font-family: Play, sans-sefif; min-height: 100%; + scroll-behavior: smooth; } body {