From cc00dfac57dc9fd7c4a3f608733f9c1ae4b59e33 Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Fri, 22 Mar 2019 16:38:48 +0300 Subject: [PATCH] removed incorrect JS imports --- .../Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml | 1 - .../Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml | 11 +++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml index d7adf3c196..8dc8845982 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml @@ -15,7 +15,6 @@ @section scripts { - } @section styles { diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml index 5bc115c115..32a8016d38 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml @@ -12,7 +12,6 @@ @section scripts { - } @@ -77,7 +76,7 @@ @post.Title

- @Html.Raw(GetShortContent(post.Content))) + @Html.Raw(GetShortContent(post.Content)))

@L["ContinueReading"] @@ -109,13 +108,13 @@
- - + + @if (await Authorization.IsGrantedAsync(BloggingPermissions.Posts.Create)) { - @L["CreateANewPost"] + @L["CreateANewPost"] } - +
@for (var index = 0; index < Model.Posts.Count && index < 3; index++) {