Skip to content

Instantly share code, notes, and snippets.

Last active December 15, 2015 02:29
What would you like to do?
ViewModel with separate XPM properties
@model ArticleViewModel
@foreach(var relatedLink in Model.RelatedLinks)
<div class="cd-list">
<a href="@relatedLink.Url" title="@relatedLink.Title" class="cd-link-ext" target="_blank">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment