Skip to content

Commit

Permalink
[blog] Remove default social card
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed May 1, 2022
1 parent f3fefa2 commit 1bda564
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/modules/components/TopLayoutBlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@ function TopLayoutBlog(props) {
<Head
title={`${finalTitle} - MUI`}
description={description}
largeCard={headers.card === 'true' ? true : undefined}
largeCard={headers.card === 'true'}
disableAlternateLocale
card={
headers.card === 'true' ? `https://mui.com/static${router.pathname}/card.png` : undefined
headers.card === 'true'
? `https://mui.com/static${router.pathname}/card.png`
: 'https://mui.com/static/logo.png'
}
/>
<div className={className}>
Expand Down

0 comments on commit 1bda564

Please sign in to comment.