mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00

Converted built-in themes to use Include() instead of a manifest for simplification. --HG-- branch : dev
35 lines
974 B
Plaintext
35 lines
974 B
Plaintext
@using Orchard.UI.Resources
|
|
@{
|
|
Style.Include("site.css");
|
|
Style.Include("blog.css");
|
|
}
|
|
<div id="wrapper">
|
|
@// HTML.Include will render a div with a class="user-display"
|
|
@// Can use this -> {Html.Include("User");}
|
|
@// or the following. At least they appear to do the same thing currently. The first is a standard Html.Include, the second "displays the (New) User shape"
|
|
@Display.User()
|
|
@// Top Navigation and branding
|
|
<div id="headercontainer">
|
|
<div id="header">
|
|
<h1>@WorkContext.CurrentSite.SiteName</h1>
|
|
<div class="menucontainer">
|
|
@Display(Model.Navigation)
|
|
</div>
|
|
<div class="clearBoth"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main">
|
|
<div id="content">
|
|
@// Main Content
|
|
@Display(Model.Content)
|
|
</div>
|
|
<div id="sidebar">
|
|
@Display(Model.search)
|
|
@Display(Model.sidebar)
|
|
</div>
|
|
@// End Content
|
|
@Display.Footer(Navigation:Model.Navigation)
|
|
</div>
|
|
</div>
|