@model BuildFeed.Models.ViewModel.SitemapData
@{
ViewBag.Title = "Sitemap | BuildFeed";
}
Sitemap
-
@Html.ActionLink("BuildFeed", "index", "build")
-
Builds
@foreach (var build in Model.Builds)
{
- @Html.ActionLink(build.Name, "info", new { controller = "build", id = build.Id })
}
@foreach (var item in Model.Actions)
{
-
@item.Key
@foreach (var action in item.Value)
{
if (string.IsNullOrEmpty(action.Name))
{
for (int i = 1; i <= action.Pages; i++)
{
var urlParams = action.UrlParams;
urlParams["page"] = i;
- @Html.ActionLink("Page " + i.ToString(), action.Action, urlParams)
}
}
else
{
-
@action.Name
@for (int i = 1; i <= action.Pages; i++)
{
var urlParams = action.UrlParams;
urlParams["page"] = i;
- @Html.ActionLink("Page " + i.ToString(), action.Action, urlParams)
}
}
}
}
-
RSS Feeds