feat: rename includes and data directories
|
@ -1,7 +0,0 @@
|
||||||
export const dir = {
|
|
||||||
assets: "assets",
|
|
||||||
data: "_data",
|
|
||||||
includes: "_includes",
|
|
||||||
input: "src",
|
|
||||||
output: "dist",
|
|
||||||
};
|
|
|
@ -5,7 +5,6 @@ import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||||
|
|
||||||
import { collectionByTag, postsByTag } from "./config/collections/index.js";
|
import { collectionByTag, postsByTag } from "./config/collections/index.js";
|
||||||
|
|
||||||
import { dir } from "./config/constants.js";
|
|
||||||
import {
|
import {
|
||||||
allTagCounts,
|
allTagCounts,
|
||||||
entries,
|
entries,
|
||||||
|
@ -107,6 +106,12 @@ export default function (eleventyConfig) {
|
||||||
dataTemplateEngine: "njk",
|
dataTemplateEngine: "njk",
|
||||||
htmlTemplateEngine: "njk",
|
htmlTemplateEngine: "njk",
|
||||||
|
|
||||||
dir,
|
dir: {
|
||||||
|
assets: "assets",
|
||||||
|
data: "data",
|
||||||
|
includes: "includes",
|
||||||
|
input: "src",
|
||||||
|
output: "dist",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 912 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 991 B After Width: | Height: | Size: 991 B |
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |