initial commit

This commit is contained in:
Glyphscribe Ety committed 2026-11-10 22:09:00 -06:00
commit 611ab6a9c7
12 files changed
+114

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
const UTC_LONG = new Intl.DateTimeFormat("en-US", { dateStyle: "long", timeZone: "UTC"});
export default function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ "src/assets": "assets"});
eleventyConfig.addPassthroughCopy({ "src/public": "/" });
eleventyConfig.addPreprocessor("drafts", "*", (data) => {
if (data.draft) return false;
});
eleventyConfig.addFilter("readableDate", (date) => UTC_LONG.format(date));
eleventyConfig.addFilter("isoDate", (date) => date.toISOString().slice(0, 10));
return {
dir: { input: "src" },
templateFormats: ["md", "njk", "html"],
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk"
};
}