Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add og for notes #45

Merged
merged 2 commits into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 9 additions & 35 deletions frontmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@
"title": "locale",
"name": "locale",
"type": "choice",
"choices": [
"en",
"fr"
]
"choices": ["en", "fr"]
},
{
"title": "Publishing date",
Expand Down Expand Up @@ -189,10 +186,7 @@
"title": "locale",
"name": "locale",
"type": "choice",
"choices": [
"en",
"fr"
]
"choices": ["en", "fr"]
},
{
"title": "Publishing date",
Expand Down Expand Up @@ -245,10 +239,7 @@
"title": "locale",
"name": "locale",
"type": "choice",
"choices": [
"en",
"fr"
]
"choices": ["en", "fr"]
},
{
"title": "Title",
Expand Down Expand Up @@ -293,10 +284,7 @@
"schema": {
"title": "Social Medias",
"type": "object",
"required": [
"label",
"link"
],
"required": ["label", "link"],
"properties": {
"label": {
"type": "string",
Expand All @@ -318,10 +306,7 @@
"schema": {
"title": "Category",
"type": "object",
"required": [
"name",
"description"
],
"required": ["name", "description"],
"properties": {
"name": {
"type": "string",
Expand All @@ -343,10 +328,7 @@
"schema": {
"title": "Tag",
"type": "object",
"required": [
"name",
"description"
],
"required": ["name", "description"],
"properties": {
"name": {
"type": "string",
Expand All @@ -372,9 +354,7 @@
"schema": {
"title": "Author",
"type": "object",
"required": [
"name"
],
"required": ["name"],
"properties": {
"name": {
"type": "string",
Expand All @@ -396,13 +376,7 @@
"schema": {
"title": "Title",
"type": "object",
"required": [
"title",
"url",
"description_en",
"category_en",
"image"
],
"required": ["title", "url", "description_en", "category_en", "image"],
"properties": {
"title": {
"type": "string",
Expand Down Expand Up @@ -436,4 +410,4 @@
}
}
]
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/typography": "0.5.9",
"@vercel/og": "^0.5.7",
"autoprefixer": "^10.4.14",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "^4.2.1",
Expand Down
125 changes: 125 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/images/og/background-01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/rss/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>The David Dias | Front-End Developer, podcaster &amp; content creator</title>
<link>https://thedaviddias.dev</link>
<description>Hey, I'm David Dias! Front-End Developer based in Toronto/Canada. I love talking about code, technology, expatriation and life.</description>
<lastBuildDate>Sat, 10 Jun 2023 21:04:20 GMT</lastBuildDate>
<lastBuildDate>Sun, 11 Jun 2023 02:10:37 GMT</lastBuildDate>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<generator>https://github.com/jpmonette/feed</generator>
<language>en</language>
Expand Down
Loading
Loading