You can configure default SEO tags for your pages in strafer.config.ts file in seo.
strafer.config.ts
seo
export const straferConfig = { // ... rest of the config seo: { alternates: { canonical: '/' }, applicationName: 'Strafer', description: 'Powering rapid launches effortlessly. Deploy your next app ' + 'to production in minutes.', metadataBase: new URL(SITE_URL as string), title: "Supercharge Your App Development | Strafer", keywords: ["Strafer", "NextJS", "NextJS boilerplate", "NextJS starter"], robots: "all", }, };
The helper function SEOTags that comes from @/lib/seo.ts adds all these default tags to your page. But you can override them by passing an object with other tags.
SEOTags
@/lib/seo.ts
import { SEOTags } from '@/lib/seo'; // Then inside your page or layout export const metadata: Metadata = SEOTags({ alternates: { canonical: "/privacy-policy" }, });