Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
のようなtumblrタグを使用してOGP画像のURLを設定したい
<meta property="og:image" content="{ANY TUMBLR TAG}"/>
作成した投稿の写真を先頭にして OGP 画像を設定したい。
どの tumblr タグを使用すればよいか知っている人はいますか?
Tumblr は、Open Graph のメタ タグを自動生成する必要があります。ただし、質問に答えるには:
<meta property="og:image" content="{block:Photo}{PhotoURL-250}{/block:Photo}"/>
これが PermalinkPage にのみ印刷されるようにするために、いくつかのテンプレート ロジックが必要になる場合があります。