Skip to content

Instantly share code, notes, and snippets.

@gopigujjula
Created October 29, 2018 14:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gopigujjula/6c880b71330a3f98aa0930d15bbf8056 to your computer and use it in GitHub Desktop.
Save gopigujjula/6c880b71330a3f98aa0930d15bbf8056 to your computer and use it in GitHub Desktop.
@model IEnumerable<SC9SolrDemo.Models.HighlightResult>
@if (Model != null)
{
<ul>
@foreach (var highlight in Model)
{
<li>
<h1>
@highlight.Name
</h1>
</li>
<li>
<h3>
@Html.Raw(highlight.Value)
</h3>
</li>
}
</ul>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment