On my project I have publication and page metadata which is being consumed in the view. For example, my page metadata looks something like this in the view:
@model DD4T.ContentModel.IPage
....
@if (Model.MetadataFields.ContainsKey("browserTitle")) {
<title>@Model.MetadataFields["browserTitle"].Value</title>
}
Is there a corresponding way to access the page's publication metadata?
I do see that the IPage model has Publication.Id available but I'm unsure of how to use it to retrieve publication metadata?
Thanks