some metadata stuff

This commit is contained in:
2026-02-19 17:54:01 -08:00
parent 94716d8e63
commit 4bf8c7e334
4 changed files with 17 additions and 3 deletions

View File

@ -27,4 +27,9 @@ export default function(eleventyConfig) {
(strings || []).sort((b, a) => b.localeCompare(a))
);
/* Remove year from image filenames for OG metadata */
eleventyConfig.addFilter("toOgFilename", (filename) => {
return filename.split("/")[1];
})
};