I am in a partial View, and I want to put open graph in the head
But head declared in the _Layout.cshtml
how do I put this
<meta property="og:image" content="@Model.ThumbnailUrl" />
in the head from _Layout.cshtml, if I have the Value in the Model? (in a partial view)
Found the answer!
_Layout.cshtml:
PartialView.cshtml: