Skip to content

Commit

Permalink
Update second code block to include title field which is missing (#19542
Browse files Browse the repository at this point in the history
)

title field is missing from second block which makes the code confusing when printing the title within H1 but title is not included in fields queried via GraphQL statement.
  • Loading branch information
colinappnovation authored and GatsbyJS Bot committed Nov 15, 2019
1 parent f071e38 commit 8882caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/use-static-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const useSiteMetadata = () => {
query SiteMetaData {
site {
siteMetadata {
title
siteUrl
headline
description
Expand Down

0 comments on commit 8882caf

Please sign in to comment.