From add94527050dc311c4ad117e25dd5e4517b3b887 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 15 Nov 2022 11:05:05 +0700 Subject: feat: Initial commit --- src/Pages/Read.cshtml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Pages/Read.cshtml (limited to 'src/Pages/Read.cshtml') diff --git a/src/Pages/Read.cshtml b/src/Pages/Read.cshtml new file mode 100644 index 0000000..2aecc75 --- /dev/null +++ b/src/Pages/Read.cshtml @@ -0,0 +1,26 @@ +@page "/les/{site}" +@model ReadModel +@{ + ViewData["Title"] = Model.Source.Title; +} + +
+
+

@Model.Source.Title

+

@Model.Source.Subtitle

+
+
+
+ Publisert: @Model.Source.PublishedAt.ToString("F")
+ Oppdatert: @Model.Source.UpdatedAt.ToString("F") +
+
+
+ @foreach (var author in Model.Source.Authors) { + @author.Name: @author.Title
+ } +
+
+
+
+@Html.Raw(Model.Source.Content) \ No newline at end of file -- cgit v1.3