From 623a45d1ec1f7e636defd139b35b615b1a64af91 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 2 Dec 2022 12:04:42 +0900 Subject: feat: !WIP nrk radio --- src/Pages/Index.cshtml | 82 ++++++++++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 40 deletions(-) (limited to 'src/Pages/Index.cshtml') diff --git a/src/Pages/Index.cshtml b/src/Pages/Index.cshtml index 0501e3e..076e4f6 100644 --- a/src/Pages/Index.cshtml +++ b/src/Pages/Index.cshtml @@ -26,62 +26,64 @@

- @section scripts { - - } - } else if (Model.Article != default) { -
-
-

@Model.Article.Title

-

@Model.Article.Subtitle

-
-
+}} 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) -
+
+ @Html.Raw(Model.Article.Content) +
- + @section scripts { -}} \ No newline at end of file +} } \ No newline at end of file -- cgit v1.3