Skip to content

Commit

Permalink
Merge pull request #194 from gita/add-sitemap
Browse files Browse the repository at this point in the history
update heading tags for technical SEO
  • Loading branch information
samanyougarg authored Aug 20, 2023
2 parents 29822e7 + 09450f9 commit 8f67333
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const metadata: Metadata = {
},
alternates: {
canonical: "https://bhagavadgita.io/about/",
}
},
};

export default function About() {
Expand Down
8 changes: 5 additions & 3 deletions app/quotes/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import QuotesPage from "./quotes-page";

export const metadata: Metadata = {
title: "Bhagavad Gita Quotes By Krishna - BhagavadGita.io",
description: "100+ Bhagavad Gita Quotes spoken by Lord Krishna in the Bhagavad Gita to Arjuna on the battlefield of the Kurukshetra.",
description:
"100+ Bhagavad Gita Quotes spoken by Lord Krishna in the Bhagavad Gita to Arjuna on the battlefield of the Kurukshetra.",
openGraph: {
title: "Bhagavad Gita Quotes By Krishna - BhagavadGita.io",
description: "100+ Bhagavad Gita Quotes spoken by Lord Krishna in the Bhagavad Gita to Arjuna on the battlefield of the Kurukshetra.",
description:
"100+ Bhagavad Gita Quotes spoken by Lord Krishna in the Bhagavad Gita to Arjuna on the battlefield of the Kurukshetra.",
url: "https://bhagavadgita.io/about/",
siteName: "Bhagavad Gita",
images: "https://bhagavadgita.io/static/images/sribhagavadgita.jpg",
Expand All @@ -21,7 +23,7 @@ export const metadata: Metadata = {
},
alternates: {
canonical: "https://bhagavadgita.io/bhagavad-gita-quotes/",
}
},
};

const Quotes = () => {
Expand Down
19 changes: 10 additions & 9 deletions app/verse-of-the-day/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ export async function generateMetadata(): Promise<Metadata> {
const { chapter_number, verse_number } = await getDailyVerse();

return {
title: `Bhagavad Gita Chapter ${chapter_number} Verse ${verse_number} - BhagavadGita.io`,
title: `Bhagavad Gita - Verse of the Day`,
openGraph: {
url: `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/`,
url: `https://bhagavadgita.io/verse-of-the-day`,
siteName: "Bhagavad Gita",
locale: "en_US",
type: "article",
authors: "https://www.facebook.com/radhakrishnablog/",
tags: ["Krishna", "Bhagavad Gita", "Bhagwad Gita"],
section: "Bhagavad Gita",
title: `Bhagavad Gita Chapter ${chapter_number} Verse ${verse_number} - BhagavadGita.io`,
title: `Bhagavad Gita - Verse of the Day`,
images: [
{
url: "https://bhagavadgita.io/static/images/sribhagavadgita.jpg",
Expand All @@ -29,18 +29,19 @@ export async function generateMetadata(): Promise<Metadata> {
},
twitter: {
card: "summary_large_image",
title: `Bhagavad Gita Chapter ${chapter_number} Verse ${verse_number} - BhagavadGita.io`,
title: `Bhagavad Gita - Verse of the Day`,
images: ["https://bhagavadgita.io/static/images/sribhagavadgita.jpg"],
site: "@ShriKrishna",
},
alternates: {
languages: {
en: `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/`,
"en-US": `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/`,
"en-GB": `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/`,
"en-IN": `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/`,
hi: `https://bhagavadgita.io/chapter/${chapter_number}/verse/${verse_number}/hi`,
en: `https://bhagavadgita.io/verse-of-the-day`,
"en-US": `https://bhagavadgita.io/verse-of-the-day`,
"en-GB": `https://bhagavadgita.io/verse-of-the-day`,
"en-IN": `https://bhagavadgita.io/verse-of-the-day`,
hi: `https://bhagavadgita.io/verse-of-the-day/hi`,
},
canonical: `https://bhagavadgita.io/verse-of-the-day`,
},
};
}
Expand Down

0 comments on commit 8f67333

Please sign in to comment.