mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Update page template, post-template
This commit is contained in:
@@ -16,10 +16,10 @@ const Layout = ({
|
||||
children,
|
||||
title,
|
||||
description,
|
||||
socialImage
|
||||
socialImage = ''
|
||||
}: Props) => {
|
||||
const { author, url } = useSiteMetadata();
|
||||
const metaImage = typeof socialImage !== 'undefined' ? socialImage : author.photo;
|
||||
const metaImage = socialImage || author.photo;
|
||||
const metaImageUrl = url + metaImage;
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user