From a7e7d83057503262a9f2b56c4fb0c18e3f8ea15c Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 16 Nov 2022 12:06:06 +0700 Subject: feat: Add memory cache --- src/Pages/Read.cshtml | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) (limited to 'src/Pages') diff --git a/src/Pages/Read.cshtml b/src/Pages/Read.cshtml index cbbd69a..63543aa 100644 --- a/src/Pages/Read.cshtml +++ b/src/Pages/Read.cshtml @@ -9,26 +9,33 @@

@Model.Source.Title

@Model.Source.Subtitle

-
-
- @if (Model.Source.PublishedAt != default) { - Publisert: @Model.Source.PublishedAt.ToString("dd-MM-yyyy hh:mm:ss") - } - @if (Model.Source.UpdatedAt != default) { -
- Oppdatert: @Model.Source.UpdatedAt.ToString("dd-MM-yyyy hh:mm:ss") - } -
-
-
- @foreach (var author in Model.Source.Authors) { - @author.Name: @author.Title -
- } -
-
@Html.Raw(Model.Source.Content) -
\ No newline at end of file + + \ No newline at end of file -- cgit v1.3