This project is read-only.

Adding MetaData to a Parts Title Summary

Topics: General, Troubleshooting
Jun 10, 2013 at 2:25 PM
Edited Jun 10, 2013 at 2:43 PM
I'm after some advice on how to get basically the contents of Parts.Common.MetaData.Summary into the title, parts.title_summary

For example so that the output is similar to
<div class="post-title">
    <h2>@Html.ItemDisplayLink(title, contentItem) - <<Insert Model.ContentPart.PublishedUtc.Here>>
Edit: So I created an alternate that stripped away the h2 tag from title and stripped the div tag from Metadata and made changes to Content.Summary as follows, is this the appropriate way to do this?
    @if (Model.Meta != null) {
Jun 10, 2013 at 7:36 PM
It's one way, and if it works it's fine.
Another way is to render the PublishedUtc value directly and configure to not render the Parts_Common_MetaData_Summary shape.