Created
November 19, 2019 15:01
-
-
Save simple17/c78673916cfbae4f635f939867f99c7c to your computer and use it in GitHub Desktop.
[Rendering episerver LinkItemCollection] #episerver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (Model.StartPage.HeaderTopLinks != null) | |
{ | |
foreach (var link in Model.StartPage.HeaderTopLinks) | |
{ | |
<li> | |
<a href="@Url.ContentUrl(link.Href)" title="@link.Title">@link.Text</a> | |
</li> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment