Skip to content

Commit

Permalink
Use og:type=website for collection (#1294)
Browse files Browse the repository at this point in the history
`<meta property="og:type" content="product.group" />` is not actually a valid value. Collection page should default to `<meta property="og:type" content="website" />` instead.

cc: @jackson-lo
  • Loading branch information
michenly authored Feb 18, 2022
1 parent e4ee422 commit e6bad9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions snippets/meta-tags.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
assign og_type = 'product'
elsif request.page_type == 'article'
assign og_type = 'article'
elsif request.page_type == 'collection'
assign og_type = 'product.group'
elsif request.page_type == 'password'
assign og_url = shop.url
endif
Expand Down

0 comments on commit e6bad9e

Please sign in to comment.