Skip to content

Commit 6e360f3

Browse files
MichaelDeBoeySaraVieira
authored andcommitted
Cleanup onCreateNode in the gatsby-node file (codesandbox#2420)
* Cleanup gatsby-node * Create generic node fields for all Markdown files * Use editLink in Docs * Add support for creating specific node fields for Markdown files * Add Jobs specific node fields * Use new Jobs node fields * Add + use Docs specific node fields * Add Blog specific node fields * Use new Blog node fields * Introduce createNodeFieldsFromNodeInfo to simplify some things * Add Legal specific node fields
1 parent c7c4785 commit 6e360f3

File tree

49 files changed

+982
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+982
-580
lines changed

packages/homepage/content/articles/announcing-codesandbox-2-0/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: announcing-codesandbox-2-0
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/announcing-codesandbox-2-5/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: announcing-codesandbox-2-5
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/announcing-codesandbox-containers/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: announcing-codesandbox-containers
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/announcing-codesandbox-custom-templates/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: Templates
44
authors: ['Drake Costa']
55
photo: https://avatars0.githubusercontent.com/u/3144549?s=460&v=4

packages/homepage/content/articles/announcing-codesandbox-dashboard-teams/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: announcing-codesandbox-dashboard-teams
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/announcing-codesandbox-v3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: announcing-codesandbox-v3
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/codesadbox-introducing-improved-crash-reporting/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: CodeSadbox
44
authors: ['Drake Costa']
55
photo: https://avatars0.githubusercontent.com/u/3144549?s=460&v=4

packages/homepage/content/articles/codesandbox-1-5-changelog/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: codesandbox-1-5-changelog
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/codesandbox-an-online-react-editor/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: codesandbox-an-online-react-editor
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

packages/homepage/content/articles/codesandbox-containers-out-of-beta-improvements/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
featuredImage: ./images/banner.png
2+
banner: ./images/banner.png
33
slug: codesandbox-containers-out-of-beta-improvements
44
authors: ['Ives van Hoorne']
55
photo: https://avatars0.githubusercontent.com/u/587016?s=460&v=4

0 commit comments

Comments
 (0)