diff --git a/.cache/eleventy-fetch-1cce4ddcbc732998e95932ffce6c63 b/.cache/eleventy-fetch-1cce4ddcbc732998e95932ffce6c63 deleted file mode 100644 index 87ecd517..00000000 --- a/.cache/eleventy-fetch-1cce4ddcbc732998e95932ffce6c63 +++ /dev/null @@ -1 +0,0 @@ -[{"1cce4ddcbc732998e95932ffce6c63":"1"},{"cachedAt":1678651827000,"type":"2"},"json"] \ No newline at end of file diff --git a/.eleventy.js b/.eleventy.js index f9061f57..0c74c85d 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -41,14 +41,6 @@ module.exports = function (eleventyConfig) { excerpt_separator: '', }) - // create a filter to determine duration of post - eleventyConfig.addFilter('readTime', (value) => { - const content = value - const textOnly = content.replace(/(<([^>]+)>)/gi, '') - const readingSpeedPerMin = 450 - return Math.max(1, Math.floor(textOnly.length / readingSpeedPerMin)) - }) - // enable us to iterate over all the tags, excluding posts and all eleventyConfig.addCollection('tagList', (collection) => { const tagsSet = new Set() diff --git a/.gitignore b/.gitignore index 8cc5a84d..b5b6b5ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ _site node_modules .DS_Store +.cache diff --git a/src/_includes/nav.liquid b/src/_includes/nav.liquid index 3445b40e..0a4fd06d 100644 --- a/src/_includes/nav.liquid +++ b/src/_includes/nav.liquid @@ -1,5 +1,6 @@