Skip to content

Commit

Permalink
falsche verzeichnisse verschoben / entfernt
Browse files Browse the repository at this point in the history
  • Loading branch information
rawsta committed Aug 7, 2024
1 parent 9cc9dad commit 8b1f111
Show file tree
Hide file tree
Showing 46 changed files with 35 additions and 544 deletions.
6 changes: 3 additions & 3 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ export default async function (eleventyConfig) {
// --------------------- Passthrough File Copy

// -- same path
['src/assets/fonts/', 'src/assets/images/template', 'src/assets/og-images'].forEach(path =>
['./src/assets/fonts/', './src/assets/images/template', './src/assets/og-images'].forEach(path =>
eleventyConfig.addPassthroughCopy(path)
);

eleventyConfig.addPassthroughCopy({
// -- to root
'src/assets/images/favicon/*': '/',
'./src/assets/images/favicon/*': './',

// -- node_modules
'node_modules/lite-youtube-embed/src/lite-yt-embed.{css,js}': `assets/components/`
'./node_modules/lite-youtube-embed/src/lite-yt-embed.{css,js}': `./assets/components/`
});

// --------------------- Build Settings
Expand Down
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"node": ">=20.x.x"
},
"scripts": {
"clean": "rimraf dist src/_includes/css src/_includes/scripts",
"clean": "rimraf dist ./src/_includes/css ./src/_includes/scripts",
"favicons": "node ./src/_config/setup/generate-favicons.js",
"screenshots": "node ./src/_config/setup/generate-screenshots.js",
"dev:clean": "rimraf src/assets/og-images",
"dev:clean": "rimraf ./src/assets/og-images",
"dev:11ty": "cross-env ELEVENTY_ENV=development eleventy --serve --watch",
"build:11ty": "cross-env ELEVENTY_ENV=production eleventy",
"start": "run-p dev:*",
Expand All @@ -21,7 +21,7 @@
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/madrilene/eleventy-excellent.git"
"url": "https://github.com/rawsta/rawdev.git"
},
"dependencies": {
"@11ty/eleventy": "^3.0.0-beta.1",
Expand Down
8 changes: 4 additions & 4 deletions src/_config/plugins/css-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export const cssConfig = eleventyConfig => {
compile: async (inputContent, inputPath) => {
const paths = [];
if (inputPath.endsWith('/src/assets/css/global/global.css')) {
paths.push('dist/assets/css/global.css');
paths.push('src/_includes/css/global.css'); // Assuming you might want to keep naming consistent for ease
paths.push('./dist/assets/css/global.css');
paths.push('./src/_includes/css/global.css'); // Assuming you might want to keep naming consistent for ease
} else if (inputPath.includes('/src/assets/css/bundle/')) {
const baseName = path.basename(inputPath);
paths.push(`src/_includes/css/${baseName}`);
paths.push(`./src/_includes/css/${baseName}`);
} else if (inputPath.includes('/src/assets/css/components/')) {
const baseName = path.basename(inputPath);
paths.push(`dist/assets/css/components/${baseName}`);
paths.push(`./dist/assets/css/components/${baseName}`);
} else {
return;
}
Expand Down
24 changes: 0 additions & 24 deletions src/_includes/components/burger-template.njk

This file was deleted.

19 changes: 0 additions & 19 deletions src/_includes/components/card.njk

This file was deleted.

4 changes: 0 additions & 4 deletions src/_includes/components/custom-split.webc

This file was deleted.

3 changes: 0 additions & 3 deletions src/_includes/components/date.njk

This file was deleted.

36 changes: 0 additions & 36 deletions src/_includes/components/details.njk

This file was deleted.

9 changes: 0 additions & 9 deletions src/_includes/components/edit-on.njk

This file was deleted.

42 changes: 0 additions & 42 deletions src/_includes/components/gallery.njk

This file was deleted.

45 changes: 0 additions & 45 deletions src/_includes/components/inline-svg.webc

This file was deleted.

Loading

0 comments on commit 8b1f111

Please sign in to comment.