Skip to content

Commit

Permalink
feat: seo specific details
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty committed Dec 4, 2023
1 parent 0704014 commit e891980
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/guides/getstarted/hello-world-in-your-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
15 changes: 15 additions & 0 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

/**
Expand Down

0 comments on commit e891980

Please sign in to comment.