@page "{site?}" @model IndexModel @{ ViewData["Title"] = Model.PageTitle; } @if (Model.FrontPage != default) { foreach (var article in Model.FrontPage.Articles) { } @section scripts { }} else if (Model.Article != default) {
Detaljer
@foreach (var author in Model.Article.Authors) { @author.Name: @author.Title
}
@if (Model.Article.PublishedAt != default) { Publisert: @Model.Article.PublishedAt.ToString("dd-MM-yyyy hh:mm:ss") } @if (Model.Article.UpdatedAt != default) {
Oppdatert: @Model.Article.UpdatedAt.ToString("dd-MM-yyyy hh:mm:ss") }
Les på nrk.no

@Model.Article.Title

@Model.Article.Subtitle

@Html.Raw(Model.Article.Content)
@section scripts { } }