feat: add canonical URLs
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m6s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m6s
This commit is contained in:
parent
5ced74fca6
commit
e80269591c
14 changed files with 24 additions and 0 deletions
|
@ -11,6 +11,7 @@ export const metadata: Metadata = {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
|
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/blog` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,9 @@ export async function generateMetadata(props: {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
|
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
|
||||||
|
alternates: {
|
||||||
|
canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/blog/page/${(await props.params).id}`
|
||||||
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -46,6 +46,9 @@ export async function generateMetadata(props: {
|
||||||
return {
|
return {
|
||||||
title: `${page.title} change log - SVR.JS`,
|
title: `${page.title} change log - SVR.JS`,
|
||||||
description: `Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`,
|
description: `Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`,
|
||||||
|
alternates: {
|
||||||
|
canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/changelog/${params.slug}`
|
||||||
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: `${page.title} change log - SVR.JS`,
|
title: `${page.title} change log - SVR.JS`,
|
||||||
description: `Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`,
|
description: `Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`,
|
||||||
|
|
|
@ -5,6 +5,7 @@ export const metadata: Metadata = {
|
||||||
title: "SVR.JS change log - SVR.JS",
|
title: "SVR.JS change log - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.",
|
"Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/changelog` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "SVR.JS change log - SVR.JS",
|
title: "SVR.JS change log - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -5,6 +5,7 @@ export const metadata: Metadata = {
|
||||||
title: "Contact Us - SVR.JS",
|
title: "Contact Us - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.",
|
"Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/contact` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Contact Us - SVR.JS",
|
title: "Contact Us - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -7,6 +7,9 @@ export const metadata: Metadata = {
|
||||||
title: "Contribute - SVR.JS",
|
title: "Contribute - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
|
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
|
||||||
|
alternates: {
|
||||||
|
canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/contribute`
|
||||||
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Contribute - SVR.JS",
|
title: "Contribute - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -5,6 +5,7 @@ export const metadata: Metadata = {
|
||||||
title: "Downloads - SVR.JS",
|
title: "Downloads - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!",
|
"Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/downloads` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Downloads - SVR.JS",
|
title: "Downloads - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -10,6 +10,7 @@ export const metadata: Metadata = {
|
||||||
title: "SVR.JS - a web server running on Node.JS",
|
title: "SVR.JS - a web server running on Node.JS",
|
||||||
description:
|
description:
|
||||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "SVR.JS - a web server running on Node.JS",
|
title: "SVR.JS - a web server running on Node.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -5,6 +5,7 @@ export const metadata: Metadata = {
|
||||||
title: "Mods - SVR.JS",
|
title: "Mods - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.",
|
"Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/mods` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Mods - SVR.JS",
|
title: "Mods - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -6,6 +6,9 @@ export const metadata: Metadata = {
|
||||||
title: "Newsletter - SVR.JS",
|
title: "Newsletter - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Subscribe to our newsletter for updates. We promise no spam emails will be sent.",
|
"Subscribe to our newsletter for updates. We promise no spam emails will be sent.",
|
||||||
|
alternates: {
|
||||||
|
canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/newsletter`
|
||||||
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Newsletter - SVR.JS",
|
title: "Newsletter - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -9,6 +9,7 @@ export const metadata: Metadata = {
|
||||||
title: "Privacy Policy - SVR.JS",
|
title: "Privacy Policy - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.",
|
"Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/privacy` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Privacy Policy - SVR.JS",
|
title: "Privacy Policy - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -7,6 +7,7 @@ export const metadata: Metadata = {
|
||||||
title: "Terms of Service - SVR.JS",
|
title: "Terms of Service - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.",
|
"Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/tos` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Terms of Service - SVR.JS",
|
title: "Terms of Service - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -5,6 +5,9 @@ export const metadata: Metadata = {
|
||||||
title: "Vulnerabilities - SVR.JS",
|
title: "Vulnerabilities - SVR.JS",
|
||||||
description:
|
description:
|
||||||
"Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.",
|
"Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.",
|
||||||
|
alternates: {
|
||||||
|
canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/vulnerabilities`
|
||||||
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Vulnerabilities - SVR.JS",
|
title: "Vulnerabilities - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -14,6 +14,7 @@ export const metadata: Metadata = {
|
||||||
title: "SVR.JS - a web server running on Node.JS",
|
title: "SVR.JS - a web server running on Node.JS",
|
||||||
description:
|
description:
|
||||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||||
|
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}` },
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "SVR.JS - a web server running on Node.JS",
|
title: "SVR.JS - a web server running on Node.JS",
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue