Features
Search Engine Optimization
Cyrux comes pre built with helper functions to add meta tags and JsonLD schema to your website pages.
Setup
Edit lib/config.ts
Open lib/config.ts and edit name and description as per your website. These values will be used as defaults in your meta tags in seo.ts
export const appConfig = {
name: "Cyrux",
logo: "/logo.png",
description: "Cyrux is a modern web application template with auth, database, payments, and SEO blogs handled.",
url: "cyrux.in",
}Add meta tags in pages
You can now use getMetaTags function to add meta tags to all of your pages without writing repetitive code.
import { getMetaTags } from "@/lib/seo"
export const metadata = getMetaTags({
title: "Terms of Service",
canonicalUrlRelative: "/terms",
})Setup title and canonicalUrlRelative for each page to prevent duplicate content issues from google.