Skip to content

Commit

Permalink
Fix faulty condition
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Feb 9, 2024
1 parent 0207f24 commit 1fbe159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/snippets/_seo.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(environment == 'staging' && !seo:noindex_staging) or
(environment == 'production' && !seo:noindex_production)
}}
{{ if seo_noindex & seo_nofollow }}
{{ if seo_noindex && seo_nofollow }}
<meta name="robots" content="noindex, nofollow">
{{ elseif seo_nofollow }}
<meta name="robots" content="nofollow">
Expand Down

0 comments on commit 1fbe159

Please sign in to comment.