Skip to content

Commit

Permalink
fix: standardization of blog title
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhanadev committed Jan 4, 2025
1 parent 90b24e1 commit 92218e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ClientRouter } from "astro:transitions";
import { Head } from "astro-capo";
import { SEO } from "astro-seo";
import { FULL_NAME, EMAIL_ADDRESS, JSONLD } from "lib/consts";
import { BLOG_TITLE, FULL_NAME, EMAIL_ADDRESS, JSONLD } from "lib/consts";
import "styles/global.css";
Expand Down Expand Up @@ -101,7 +101,7 @@ export interface Props {
<link
rel="alternate"
type="application/rss+xml"
title="Thoughts by Ray (@rayhanadev)"
title={BLOG_TITLE}
href={`${import.meta.env.SITE}/rss.xml`}
/>

Expand Down
4 changes: 2 additions & 2 deletions src/layouts/PostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ClientRouter } from "astro:transitions";
import { Head } from "astro-capo";
import { SEO } from "astro-seo";
import { JSONLD } from "lib/consts";
import { BLOG_TITLE, JSONLD } from "lib/consts";
import "styles/global.css";
Expand Down Expand Up @@ -111,7 +111,7 @@ export interface Props {
<link
rel="alternate"
type="application/rss+xml"
title="Thoughts by Ray (@rayhanadev)"
title={BLOG_TITLE}
href={`${import.meta.env.SITE}/rss.xml`}
/>

Expand Down
2 changes: 1 addition & 1 deletion src/lib/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const NAVIGATION = [
{ name: "work", href: "/resume" },
];

export const BLOG_TITLE = "THOUGHTS: a blog written by Ray 🪴";
export const BLOG_TITLE = "Thoughts by Ray (@rayhanadev) 🪴";
export const BLOG_DESCRIPTION =
"Various pieces written and composed by Ray, related to software engineering and life.";

Expand Down
1 change: 1 addition & 0 deletions src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const GET: APIRoute = async () => {
sanitizeHtml.defaults.allowedTags.concat([
"img",
"figure",
"figcaption",
]),
}),
customData: `<guid>${import.meta.env.SITE}/thoughts/${post.id}/</guid>`,
Expand Down

0 comments on commit 92218e9

Please sign in to comment.