Skip to content

Commit

Permalink
whitespace [#932]
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack committed Aug 23, 2024
1 parent 70209e0 commit 5709c3c
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 @@ -20,7 +20,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 5709c3c

Please sign in to comment.