This repository has been archived by the owner on Mar 12, 2023. It is now read-only.
不具合:記事リンクを直接SNSに貼り付けた際、デフォルト画像が表示されず #17
Comments
easy-notion-blog ではデフォルトの og:image は対応していなくて(ちょうど良い画像が
- {ogImageUrl ? <meta property="og:image" content={ogImageUrl} /> : ''}
- {ogImageUrl ? (
- <meta property="twitter:image" content={ogImageUrl} />
- ) : (
- ''
- )}
+ <meta property="og:image" content={ogImageUrl ? ogImageUrl : defaultOgImageUrl} />
+ <meta property="twitter:image" content={ogImageUrl ? ogImageUrl : defaultOgImageUrl} /> |
修正のご確認ありがとうございました。 |
Twitter Card Validator今後活用させていただきます⭐ |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
👇
The text was updated successfully, but these errors were encountered: