mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-08 00:14:31 +08:00
A bit more work getting content display in order
- content title added to the item shape (@Model.Title) - some rough content item shape structure - needs real body zones and footer (need header @ footer markup at least as zone wrappers in a way so if there is nothing in the zone the tags aren't rendered) - page title usage back in the picture though (impl.) not really touched - contents and routable display type actions all falling back to the core shaped "Display" view --HG-- branch : theming
This commit is contained in:
@@ -8,14 +8,14 @@ WorkContext.Page == Layout shape
|
||||
|
||||
Document [:Layout]
|
||||
|
||||
Layout (.Wrappers[Document])
|
||||
Layout (Body) (.Wrappers[Document])
|
||||
.Zones (meta-property)
|
||||
.Title
|
||||
|
||||
Zone
|
||||
.ZoneName
|
||||
|
||||
Menu
|
||||
Menu (in Body.Navigation)
|
||||
.MenuName
|
||||
|
||||
MenuItem
|
||||
@@ -32,9 +32,10 @@ List: ul|ol + li*
|
||||
.ItemClasses
|
||||
.ItemAttributes
|
||||
|
||||
Items_Content
|
||||
Items_Content (a single content item)
|
||||
.Zones (meta-property)
|
||||
.ContentItem (clr object)
|
||||
.Title (from Orchard.Core.Routable(.Handlers.RoutePartHandler))
|
||||
|
||||
PlaceChildContent
|
||||
.Source (another shape, presumed rendered)
|
||||
|
Reference in New Issue
Block a user