-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
画像と著者のアイコンに使用できる画像フォーマットを増やす #57
Conversation
8ee40db
to
8f4d5e7
Compare
8f4d5e7
to
337594f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
何故かOGPが表示されないです。おそらく拡張子が必要なのだと思います。
また、特にタグのアイコンは2~3色のものが多くjpegよりpngのほうがいいと考えたのですが、やはりjpegのほうが良いですか?
こちらでは拡張子がついており表示されるように見えるのですが、どのページでしょうか?
たしかにタグのアイコンはPNGで問題なさそうなのでそうします。 |
ogpのパスを直接指定してブラウザで見る分には問題ないですが、下に示すような拡張機能を用いてogpを表示するテストをしてみると少なくともdiscordでは表示されません。また、ogpのパスにビルド時のパスがそのまま見えているのも良くないと思います。 |
すみません。これは |
What
src/content/{authors,tags}
に画像ファイルを置き、JSONでファイル名を指定することでアイコンを変更できる。src/assets/icons/blog
のファイル名指定と外部URL指定は廃止した。Why
<Icon>
コンポーネントの仕様変更にあたって使用箇所を減らすため。