mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-04 17:37:26 +00:00
css: scaffold styles
This commit is contained in:
parent
e519d1043d
commit
b7c6af4178
3 changed files with 12 additions and 0 deletions
|
|
@ -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
3
src/_assets/css/base.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
* {
|
||||
background: red;
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue