Skip to content

Commit

Permalink
Fix silly
Browse files Browse the repository at this point in the history
  • Loading branch information
JedHazaymeh committed Jan 31, 2024
1 parent 68f3007 commit 64f2331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addFilter('prose', proseFilter)
eleventyConfig.addFilter(
'readingTime',
(str) => readingTime(str).text
(str) => readingTime(str, { wordsPerMinute: 250 }).text
)
eleventyConfig.addFilter('readable', (date) =>
DateTime.fromJSDate(date).toLocaleString(DateTime.DATE_FULL)
Expand Down
4 changes: 1 addition & 3 deletions utils/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ const getMarkdown = async function (
})

return files.map((file) => {
const { attributes, bodyBegin } = frontMatter(file.content, {
wordsPerMinute: 250,
})
const { attributes, bodyBegin } = frontMatter(file.content)

const content = file.content
.split('\n')
Expand Down

0 comments on commit 64f2331

Please sign in to comment.