From e891980f95fef5d3f2c64b50b3552e011907ac22 Mon Sep 17 00:00:00 2001 From: nickfrosty Date: Mon, 4 Dec 2023 13:57:31 -0500 Subject: [PATCH] feat: seo specific details --- .../getstarted/hello-world-in-your-browser.md | 1 + .../solana-token-airdrop-and-faucets.md | 1 + contentlayer.config.ts | 15 +++++++++++++++ 3 files changed, 17 insertions(+) diff --git a/content/guides/getstarted/hello-world-in-your-browser.md b/content/guides/getstarted/hello-world-in-your-browser.md index 93c6342ff..8232e844a 100644 --- a/content/guides/getstarted/hello-world-in-your-browser.md +++ b/content/guides/getstarted/hello-world-in-your-browser.md @@ -4,6 +4,7 @@ difficulty: intro featured: true featuredPriority: 0 title: "Intro to Solana development (using only your browser)" +seoTitle: "Introduction to Solana development" description: "Solana developer quickstart guide to learn how to setup, build, and deploy your first Solana program using only your browser with Solana Playground." diff --git a/content/guides/getstarted/solana-token-airdrop-and-faucets.md b/content/guides/getstarted/solana-token-airdrop-and-faucets.md index 5cb4dc6fc..f384e7dc2 100644 --- a/content/guides/getstarted/solana-token-airdrop-and-faucets.md +++ b/content/guides/getstarted/solana-token-airdrop-and-faucets.md @@ -2,6 +2,7 @@ date: Jul 29, 2023 difficulty: intro title: "How to get Solana devnet SOL (including airdrops and faucets)" +seoTitle: "Faucets: How to get Solana devnet SOL" description: "A list of the most common ways to get devnet and testnet SOL tokens for Solana development. Including: airdrop, web3.js, POW faucet, and more." diff --git a/contentlayer.config.ts b/contentlayer.config.ts index 054cd070c..6638b2ba9 100644 --- a/contentlayer.config.ts +++ b/contentlayer.config.ts @@ -123,6 +123,21 @@ const basicContentFields: FieldDefs = { description: "Force hide the table of contents displayed on page", required: false, }, + + /** + * Custom SEO specific details + */ + seoTitle: { + type: "string", + description: "Custom title to be used for SEO purposes", + required: false, + }, + seoDescription: { + type: "string", + description: + "Custom description to be used for SEO purposes (recommended max of 155 characters)", + required: false, + }, }; /**