Skip to content

Commit 5cf06b8

Browse files
update frontmatter
1 parent bad9c40 commit 5cf06b8

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

content/articles/round-1-day-1.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: Round 1 Day 1
33
published: true
4-
description: Back to school. Back to school. Learning Elixir.
4+
description: Back to school. Back to school. Learning Elixir.
55
tags: 100daysofcode, elixir
66
cover_image: https://cdn.hashnode.com/res/hashnode/image/upload/v1613181428296/AE6zOKS_p.jpeg?auto=compress
7-
date: 2021-02-12
7+
datePosted: '2021-02-12'
8+
devToId: 602094
89
---
910

1011
## TIL

content/articles/using-github-to-crosspost-to-dev-to.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Want to crosspost to dev.to? There's a GitHub action for that.
33
published: true
4-
date: 2021-01-25
4+
datePosted: '2021-01-25'
55
description: When I create a new markdown article, I don't want to have to copy and paste that markdown to multiple other blog sites. So, why not let an Octokit handle this work for me with a GitHub action?
66
tags: typescript, github, opensource, actions
77
cover_image: https://cdn.nanalyze.com/uploads/2018/07/automation-rpa-teaser.jpg

content/articles/when-a-simple-react-context-gets-out-of-hand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: When a simple React context gets out of hand.
33
published: true
4-
date: 2020-12-21
4+
datePosted: '2020-12-21'
55
description: It seemed like a good idea to start. Separate state into different "contexts". Just use `useState`. Then, `useEffect` and multiple if branches snuck in and it became a nightmare.
66
tags: react, javascript, redux
77
cover_image: https://content.altexsoft.com/media/2018/09/code-refactoring.jpg

pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export default {
2323
'slug',
2424
'tags',
2525
'cover_image',
26-
'date',
26+
'datePosted',
2727
])
28-
.sortBy('date', 'desc')
28+
.sortBy('datePosted', 'desc')
2929
.where({ tags: { $contains: query.tag || '' }, published: true })
3030
.sortBy('createdAt', 'asc')
3131
.fetch()

0 commit comments

Comments
 (0)