Skip to content

Instantly share code, notes, and snippets.

@katstojanovski
Last active May 24, 2016 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katstojanovski/630e45c78cea1c38df1391d8c9ef72e2 to your computer and use it in GitHub Desktop.
Save katstojanovski/630e45c78cea1c38df1391d8c9ef72e2 to your computer and use it in GitHub Desktop.
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