Skip to content

Commit

Permalink
Merge pull request #26 from khaykingleb/update-metadata
Browse files Browse the repository at this point in the history
chore: add charset meta tag
  • Loading branch information
khaykingleb authored Oct 14, 2024
2 parents 63e4ae2 + 95bdb6a commit 2070fa5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const meta: MetaFunction = () => {
return [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ title: "Gleb Khaykin" },
{ property: "og:title", content: "Gleb Khaykin" },
{ property: "og:description", content: "Personal website" },
{
Expand Down
1 change: 1 addition & 0 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Header } from "~/components/organisms/Header";

export const meta: MetaFunction = () => {
return [
{ charset: "utf-8" },
{ name: "author", content: "Gleb Khaykin" },
{ property: "og:title", content: "About | Gleb Khaykin" },
{ property: "og:description", content: "Gleb Khaykin's personal website" },
Expand Down
1 change: 1 addition & 0 deletions app/routes/blog.$slug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const meta: MetaFunction = ({ data }: { data: { post: Post } }) => {
const description = `Created at ${post.publishDate.replace(/-/g, "/")}`;

return [
{ charset: "utf-8" },
{ name: "author", content: "Gleb Khaykin" },
{
property: "og:image",
Expand Down
1 change: 1 addition & 0 deletions app/routes/blog._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { posts } from "~/data/posts";

export const meta: MetaFunction = () => {
return [
{ charset: "utf-8" },
{ name: "author", content: "Gleb Khaykin" },
{ property: "og:title", content: "Posts | Gleb Khaykin" },
{ property: "og:description", content: "Gleb Khaykin's personal website" },
Expand Down

0 comments on commit 2070fa5

Please sign in to comment.