Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amirkhan81/e62d401fda0f5fc2b565 to your computer and use it in GitHub Desktop.
Save amirkhan81/e62d401fda0f5fc2b565 to your computer and use it in GitHub Desktop.
@foreach (var prop in Model.Content.Properties)
{
/* get each property value */
var value = prop.Value;
<h1>@value</h1>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment