a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

export discover page metadata

+7
+7
app/discover/page.tsx
··· 1 1 import { supabaseServerClient } from "supabase/serverClient"; 2 2 import Link from "next/link"; 3 3 import { SortedPublicationList } from "./SortedPublicationList"; 4 + import { Metadata } from "next"; 4 5 5 6 export type PublicationsList = Awaited<ReturnType<typeof getPublications>>; 6 7 async function getPublications() { ··· 19 20 .limit(1, { referencedTable: "documents_in_publications" }); 20 21 return publications; 21 22 } 23 + 24 + export const metadata: Metadata = { 25 + title: "Discover", 26 + description: "Explore publications on Leaflet ✨ Or make your own!", 27 + }; 28 + 22 29 export default async function Discover(props: { 23 30 searchParams: Promise<{ [key: string]: string | string[] | undefined }>; 24 31 }) {