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.
Facebookのいいねボタン用に自分のサイトにogメタタグを追加しようとしています。それをサイトのに追加するにはどうすればよい<head>ですか?
<head>
いくつかの方法を次に示します。
Orchard には _Layout.cshtml はありません。同等のものは、テーマの Document.cshtml になります。Freeman が提案したことを行うことができますが、Document.cshtml で
Orchard ギャラリーの既存の Facebook モジュールの 1 つを使用できます。いいねボタンを実装するモジュールが少なくとも 1 つあるため、パーツに「いいね」ボタンを付けると、モジュールが<head>タグを処理します。