Skip to content

Commit

Permalink
fix: change robots meta tag formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasmerlin committed Oct 27, 2021
1 parent 9d4a863 commit 7a35ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SEO.astro
Expand Up @@ -215,7 +215,7 @@ function generateTwitterTags(props: Props) {

<meta
name="robots"
content={`${noindex ? "noindex" : "index"}, ${nofollow ? "nofollow" : "follow"}`} />
content={`${noindex ? "noindex" : "index"}${nofollow ? ", nofollow" : ", follow"}`} />

{generateOpenGraphBasicTags(props)}
{generateOpenGraphOptionalTags(props)}
Expand Down

0 comments on commit 7a35ada

Please sign in to comment.