Skip to content

Commit ca74365

Browse files
committed
Added opengraph default image
1 parent 3c2a566 commit ca74365

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/HeadMatter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const HeadMatter = ({
2222
imgUrl = /^http/.test(imgSrc) ? imgSrc : 'https://processing.org/' + imgSrc;
2323
}
2424

25+
imgUrl = imgUrl || '/img/banner.png';
26+
2527
const pageUrl = 'https://processing.org/' + location.pathname;
2628
return (
2729
<Helmet>

static/img/banner.png

296 KB
Loading

0 commit comments

Comments
 (0)