css: scaffold styles

This commit is contained in:
He4eT 2025-02-18 00:14:53 +01:00
commit b7c6af4178
3 changed files with 12 additions and 0 deletions

View file

@ -4,8 +4,13 @@ import { EleventyI18nPlugin } from '@11ty/eleventy'
* @param {import('@11ty/eleventy').UserConfig} eleventyConfig
*/
export default function(eleventyConfig) {
/* Source and Target*/
eleventyConfig.setInputDirectory('src')
eleventyConfig.setOutputDirectory('build')
/* Assets */
eleventyConfig.addPassthroughCopy('src/_assets/')
eleventyConfig.ignores.add('src/_assets/**');
/* Plugins*/
eleventyConfig.addPlugin(EleventyI18nPlugin, {
defaultLanguage: 'en',
})

3
src/_assets/css/base.css Normal file
View file

@ -0,0 +1,3 @@
* {
background: red;
}

View file

@ -17,9 +17,13 @@
href="/feed/feed.xml"
title="{{ translations[page.lang]['title'] }}"
type="application/atom+xml">
<link rel="stylesheet" href="/_assets/css/base.css">
<link rel="stylesheet" href="/_assets/css/menu.css">
</head>
<body>
{% include 'parts/menu.njk' %}
{{ content | safe }}
</body>
</html>