Move posts from Wordpress to physical markdown

This commit is contained in:
Lewis Dale committed 2023-12-26 14:35:09 +00:00
1 parent e828f9f590
commit c8c5981bd3
147 files changed
+6219 -98

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
module.exports = function (eleventyConfig) {
eleventyConfig.addFilter('excerpt', (content, limit = 250) => {
const excerpt = content.replace(/(<([^>]+)>)/gi, "").slice(0, limit) + " […]";
return excerpt;
});
}