Hide 'missing image' icon from newsletters
This commit is contained in:
parent
1d3316cf93
commit
3f0c9de1ac
1 changed files with 3 additions and 1 deletions
|
@ -90,7 +90,9 @@ export const PostLayout = ({ mdx, frontmatter, type, dir }) => {
|
|||
<Breadcrumbs />
|
||||
<h1 className="break-words searchme">{frontmatter.title}</h1>
|
||||
<PostMeta frontmatter={frontmatter} t={t} />
|
||||
<PostImage imgId={`${type}-${dir}`} frontmatter={frontmatter} />
|
||||
{type === 'newsletter' ? null : (
|
||||
<PostImage imgId={`${type}-${dir}`} frontmatter={frontmatter} />
|
||||
)}
|
||||
<div className="block xl:hidden">
|
||||
<Toc toc={frontmatter.toc} wrap />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue