Changing the default theme to TheThemeMachine, adding some more content widgets @ startup (for lack of a better place ATM - distro or some filler content scheme) and some shape templates

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-12 23:34:41 -07:00
parent 3e05d0473b
commit 8e2f7e974a
15 changed files with 125 additions and 133 deletions

View File

@@ -0,0 +1,17 @@
@using Orchard.ContentManagement;
@using Orchard.Widgets.Models;
@{
var title = ((IContent)Model.ContentItem).As<WidgetPart>().Title;
}
<article>
<header>
<h1>@title</h1>
@Display(Model.Header)
</header>
@Display(Model.Content)
@if(Model.Footer != null) {
<footer>
@Display(Model.Footer)
</footer>
}
</article>