Skip to content

Commit

Permalink
whitespace [#932]
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack committed Aug 22, 2024
1 parent 1cf5292 commit 85b014e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static-site/src/util/blogPosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getBlogPosts() {
const postsDirectory = path.join(__dirname, "..", "..", "content", "blog")
const markdownFiles = fs.readdirSync(postsDirectory)
.filter((fileName) => fileName.endsWith(".md"));

const blogPosts = markdownFiles.map((fileName) => {
const {data: frontmatter, content: mdstring, isEmpty} = matter(
fs.readFileSync(path.join(postsDirectory, fileName), 'utf8')
Expand Down

0 comments on commit 85b014e

Please sign in to comment.