diff --git a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj index 499829b3e9..c64df8bb26 100644 --- a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj +++ b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj @@ -12,7 +12,12 @@ - + + + + + + diff --git a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs index 1235c09010..bbd03a6de5 100644 --- a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs +++ b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs @@ -29,10 +29,18 @@ namespace AbpDesk.Blogging options.Sources.Add( new EmbeddedFileSet( "/Areas/", - GetType().GetTypeInfo().Assembly, + GetType().Assembly, "Areas" ) ); + + options.Sources.Add( + new EmbeddedFileSet( + "/", + GetType().Assembly, + "wwwroot" //TODO: This is not tested yet! + ) + ); }); services.AddAssemblyOf(); diff --git a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml b/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml index 7c97a9306f..2933a5458c 100644 --- a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml +++ b/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml @@ -3,7 +3,7 @@

Blog Posts

@section styles { - + }