forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(starters): add meta description for SEO and Open Graph to Gatsby…
… Starter Blog (gatsbyjs#11936) Minor additions to allow for optional custom meta description front matter field for SEO and Open Graph purposes; plus demo. Changes proposed: - Add `description` to `frontmatter` query in `src/pages/index.js` and `src/templates/blog-post.js` - Add short-circuit evaluation for `frontmatter.description` in `posts` mapping (`index.js`) and SEO component (`blog-post.js`) - Add `description` field to `hi-folks/index.md` to demonstrate use
- Loading branch information
1 parent
9f922af
commit 1f6d464
Showing
3 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters