Skip to content

Instantly share code, notes, and snippets.

@katstojanovski

katstojanovski/Generic.cs

Last active May 24, 2016
Embed
What would you like to do?
Page ViewModel
[PageViewModel(TemplateTitle = "Generic")]
public class Generic : ViewModelBase
{
[PageTitle]
public string PageTitle { get; set; }
[TextField(IsMetadata = true)]
public List<string> Keywords { get; set; }
[ComponentPresentations]
public List<IRenderableViewModel> Items { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment