mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -217,6 +217,10 @@
|
|||||||
<Content Include="TheAdmin\Theme.png" />
|
<Content Include="TheAdmin\Theme.png" />
|
||||||
<Content Include="TheAdmin\Views\User.cshtml" />
|
<Content Include="TheAdmin\Views\User.cshtml" />
|
||||||
<Content Include="TheAdmin\Views\Header.cshtml" />
|
<Content Include="TheAdmin\Views\Header.cshtml" />
|
||||||
|
<Content Include="TheThemeMachine\Views\Items\BlogPost.Summary.cshtml" />
|
||||||
|
<Content Include="TheThemeMachine\Views\Items\BlogPost.cshtml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Content>
|
||||||
<None Include="TheThemeMachine\Views\Layout.cshtml" />
|
<None Include="TheThemeMachine\Views\Layout.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
|||||||
@@ -188,6 +188,11 @@ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height:
|
|||||||
border-top: 1px solid #dbdbdb;
|
border-top: 1px solid #dbdbdb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#layout-before-main
|
||||||
|
{
|
||||||
|
border-bottom: 1px solid #dbdbdb;
|
||||||
|
}
|
||||||
|
|
||||||
#layout-main
|
#layout-main
|
||||||
{
|
{
|
||||||
border-top: 1px solid #fff;
|
border-top: 1px solid #fff;
|
||||||
@@ -195,7 +200,7 @@ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height:
|
|||||||
|
|
||||||
#layout-after-main
|
#layout-after-main
|
||||||
{
|
{
|
||||||
border-top: 1px solid #dbdbdb;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -241,6 +246,10 @@ nav ul
|
|||||||
{
|
{
|
||||||
border-top: 1px solid #dbdbdb;
|
border-top: 1px solid #dbdbdb;
|
||||||
}
|
}
|
||||||
|
#footer-sig
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* Zones */
|
/* Zones */
|
||||||
/*.zone {
|
/*.zone {
|
||||||
@@ -294,6 +303,11 @@ nav ul
|
|||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Blogs */
|
||||||
|
|
||||||
|
.blog-post {}
|
||||||
|
.blog-post-title {}
|
||||||
|
.meta {}
|
||||||
|
|
||||||
|
|
||||||
/* Secondary
|
/* Secondary
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
@using Orchard.Blogs.Extensions;
|
||||||
|
@using Orchard.Blogs.Models;
|
||||||
|
@using Orchard.Core.Common.Extensions;
|
||||||
|
@using Orchard.Core.Common.Models;
|
||||||
|
@using Orchard.Core.Common.ViewModels;
|
||||||
|
|
||||||
|
<h2>@Html.Link((string)Model.Title, Url.BlogPost((BlogPostPart)Model.ContentItem.Get(typeof(BlogPostPart))))</h2>
|
||||||
|
|
||||||
|
<!-- TODO: Meta should be it's own shape and not part of the blog summary view. Theme authors will need access to it. -->
|
||||||
|
<div class="meta">
|
||||||
|
@Html.PublishedState(new CommonMetadataViewModel((CommonPart)Model.ContentItem.Get(typeof(CommonPart))), T)
|
||||||
|
@Display(Model.meta)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">@Display(Model.Content)</div>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<div class="blog-post @Display(Model.Slug)">
|
||||||
|
<h1 class="blog-post-title">@Html.TitleForPage((string)Model.Title)</h1>
|
||||||
|
@if (Model.Meta != null) {
|
||||||
|
<div class="meta">
|
||||||
|
@Display(Model.Meta)
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
<div class="content">
|
||||||
|
@Display(Model.Content)
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user