File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { Metadata } from "next"
22import type { ReactNode } from "react"
33
4+ import { withSocial } from "@/lib/seo"
5+
46// No canonical here on purpose: this layout wraps every /dsoc route, and a
57// canonical set here would point all of them at the same address.
6- export const metadata : Metadata = {
8+ export const metadata : Metadata = withSocial ( {
79 title : "DSOC: Dev Weekends Summer of Code" ,
810 description :
911 "Dev Weekends Summer of Code (DSOC) is a mentored open source program with a monthly stipend per milestone. 2026 applications are closed." ,
1012 alternates : { canonical : "/dsoc" } ,
11- openGraph : { url : "/dsoc" } ,
12- }
13+ } )
1314
1415export default function DsocLayout ( { children } : { children : ReactNode } ) {
1516 return children
Original file line number Diff line number Diff line change 11import type { Metadata } from "next"
22import type { ReactNode } from "react"
33
4- export const metadata : Metadata = {
4+ import { withSocial } from "@/lib/seo"
5+
6+ // withSocial fills the share tags, including the share image, which a bare
7+ // openGraph object here would drop
8+ export const metadata : Metadata = withSocial ( {
59 title : { absolute : "DSOC projects | Dev Weekends" } ,
610 description :
711 "Open source projects in Dev Weekends Summer of Code: what each one builds, the skills it needs and the mentors who guide it." ,
812 alternates : { canonical : "/dsoc/projects" } ,
9- openGraph : { url : "/dsoc/projects" } ,
10- }
13+ } )
1114
1215export default function DsocProjectsLayout ( { children } : { children : ReactNode } ) {
1316 return children
You can’t perform that action at this time.
0 commit comments