jasonbayton/11ty

Time to read plugin defaults to 1 min everywhere

Closed this issue · 2 comments

11ty/.eleventy.js

Lines 12 to 24 in e33eed7

eleventyConfig.addPlugin(timeToRead, {
speed: '1000 characters per minute',
language: 'en',
style: 'long',
type: 'unit',
hours: 'auto',
minutes: true,
seconds: false,
digits: 1,
output: function(data) {
return data.timing;
}
});

It worked early on, but seems to have failed. Perhaps a formatting issue, or typo.

I've removed it from the theme for now, but will add it back in when working