The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

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

improve docs seo

Luna a4a22622 acfd66cf

+22 -4
+17 -4
app/docs/[...pathname]/layout.tsx
··· 18 18 }: Props): Promise<Metadata> => { 19 19 const meta = metadata.pages.find((page) => page.file === `${params.pathname.join("/").toLowerCase()}.md`); 20 20 21 - const title = "Documentation"; 21 + const title = meta?.file === "index.md" 22 + ? `Wamellow docs` 23 + : `${meta?.name} docs`; 24 + 22 25 const url = getCanonicalUrl("docs", ...params.pathname); 26 + const images = { 27 + url: meta?.image || `${getBaseUrl()}/waya-v3.jpg?v=2`, 28 + alt: meta?.description, 29 + heigth: 600, 30 + width: 1200 31 + } 23 32 24 33 return { 25 34 title, ··· 32 41 description: meta?.description, 33 42 url, 34 43 type: "website", 35 - images: `${getBaseUrl()}/waya-v3.jpg?v=2` 44 + images 36 45 }, 37 46 twitter: { 38 47 card: "summary", 39 48 title, 40 49 description: meta?.description, 41 - images: `${getBaseUrl()}/waya-v3.jpg?v=2` 50 + images 42 51 } 43 52 }; 44 53 }; ··· 49 58 }: Props) { 50 59 const meta = metadata.pages.find((page) => page.file === `${params.pathname.join("/").toLowerCase()}.md`); 51 60 61 + const title = meta?.file === "index.md" 62 + ? `Wamellow` 63 + : meta?.name; 64 + 52 65 return ( 53 66 <div className="w-full"> 54 67 55 68 <div className="md:flex justify-between items-center"> 56 69 <div> 57 70 <h1 className="text-2xl font-medium text-neutral-100"> 58 - Documentation 71 + {title} Documentation 59 72 </h1> 60 73 <div> 61 74 {meta?.description}
+5
public/docs/meta.json
··· 8 8 { 9 9 "name": "๐Ÿ‘‹ Greetings", 10 10 "file": "greetings.md", 11 + "image": "https://cdn.waya.one/r/greeting.png", 11 12 "description": "Create a warm and inviting atmosphere for new members in your community!", 12 13 "permissions": { 13 14 "bot": [ ··· 24 25 { 25 26 "name": "๐Ÿ” Passport", 26 27 "file": "passport.md", 28 + "image": "https://cdn.waya.one/r/passport.png", 27 29 "description": "Verify members with a captcha in your community for enhanced security!", 28 30 "permissions": { 29 31 "bot": [ ··· 42 44 { 43 45 "name": "๐Ÿ˜” Farewell", 44 46 "file": "farewell.md", 47 + "image": "https://cdn.waya.one/r/greeting.png", 45 48 "description": "Send farewell messages to members leaving your community!", 46 49 "permissions": { 47 50 "bot": [ ··· 58 61 { 59 62 "name": "โญ Starboard", 60 63 "file": "starboard.md", 64 + "image": "https://cdn.waya.one/r/starboard.png", 61 65 "description": "An engaging and customizable platform for highlighting memorable messages.", 62 66 "permissions": { 63 67 "bot": [ ··· 74 78 { 75 79 "name": "๐Ÿ“ข YouTube Notifications", 76 80 "file": "notifications.md", 81 + "image": "https://cdn.waya.one/r/notifications-youtube.png", 77 82 "description": "Notify your community when a new YouTube video gets posted!", 78 83 "permissions": { 79 84 "bot": [