mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
Formatting default recipe files.
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<Orchard>
|
||||
<Recipe>
|
||||
<Name>Blog</Name>
|
||||
<Description>A recipe providing the features you need for a personal blog site.</Description>
|
||||
<Author>The Orchard Team</Author>
|
||||
<WebSite>http://orchardproject.net</WebSite>
|
||||
<Category>Default</Category>
|
||||
<Tags>blog</Tags>
|
||||
<Version>1.0</Version>
|
||||
<IsSetupRecipe>true</IsSetupRecipe>
|
||||
</Recipe>
|
||||
<Recipe>
|
||||
<Name>Blog</Name>
|
||||
<Description>A recipe providing the features you need for a personal blog site.</Description>
|
||||
<Author>The Orchard Team</Author>
|
||||
<WebSite>http://orchardproject.net</WebSite>
|
||||
<Category>Default</Category>
|
||||
<Tags>blog</Tags>
|
||||
<Version>1.0</Version>
|
||||
<IsSetupRecipe>true</IsSetupRecipe>
|
||||
</Recipe>
|
||||
|
||||
<Feature enable="Orchard.Blogs,Orchard.Comments,Orchard.Tags,Orchard.Alias,Orchard.Autoroute,
|
||||
<Feature enable="Orchard.Blogs,Orchard.Comments,Orchard.Tags,Orchard.Alias,Orchard.Autoroute,
|
||||
XmlRpc,Orchard.Blogs.RemotePublishing,Orchard.ContentPicker,
|
||||
TinyMce,Orchard.MediaLibrary,Orchard.PublishLater,
|
||||
Orchard.jQuery,Orchard.Widgets,
|
||||
@@ -20,49 +20,49 @@
|
||||
Orchard.Taxonomies,Orchard.Workflows,
|
||||
TheThemeMachine" />
|
||||
|
||||
<Metadata>
|
||||
<Types>
|
||||
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||
<TitlePart/>
|
||||
<TagsPart />
|
||||
<LocalizationPart />
|
||||
<AutoroutePart />
|
||||
<MenuPart />
|
||||
</Page>
|
||||
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||
<CommentsPart />
|
||||
<TagsPart />
|
||||
<LocalizationPart />
|
||||
<TitlePart/>
|
||||
<AutoroutePart />
|
||||
</BlogPost>
|
||||
</Types>
|
||||
<Parts>
|
||||
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
||||
</Parts>
|
||||
</Metadata>
|
||||
<Metadata>
|
||||
<Types>
|
||||
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||
<TitlePart/>
|
||||
<TagsPart />
|
||||
<LocalizationPart />
|
||||
<AutoroutePart />
|
||||
<MenuPart />
|
||||
</Page>
|
||||
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||
<CommentsPart />
|
||||
<TagsPart />
|
||||
<LocalizationPart />
|
||||
<TitlePart/>
|
||||
<AutoroutePart />
|
||||
</BlogPost>
|
||||
</Types>
|
||||
<Parts>
|
||||
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
||||
</Parts>
|
||||
</Metadata>
|
||||
|
||||
<Settings>
|
||||
<SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
|
||||
<CommentSettingsPart ModerateComments="true" />
|
||||
</Settings>
|
||||
<Settings>
|
||||
<SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
|
||||
<CommentSettingsPart ModerateComments="true" />
|
||||
</Settings>
|
||||
|
||||
<Migration features="*" />
|
||||
<Migration features="*" />
|
||||
|
||||
<Command>
|
||||
layer create Default /LayerRule:"true" /Description:"The widgets in this layer are displayed on all pages"
|
||||
layer create Authenticated /LayerRule:"authenticated" /Description:"The widgets in this layer are displayed when the user is authenticated"
|
||||
layer create Anonymous /LayerRule:"not authenticated" /Description:"The widgets in this layer are displayed when the user is anonymous"
|
||||
layer create Disabled /LayerRule:"false" /Description:"The widgets in this layer are never displayed"
|
||||
layer create TheHomepage /LayerRule:"url '~/'" /Description:"The widgets in this layer are displayed on the home page"
|
||||
widget create HtmlWidget /Title:"First Leader Aside" /Zone:"TripelFirst" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget1" /UseLoremIpsumText:true
|
||||
widget create HtmlWidget /Title:"Second Leader Aside" /Zone:"TripelSecond" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget2" /UseLoremIpsumText:true
|
||||
widget create HtmlWidget /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget3" /UseLoremIpsumText:true
|
||||
site setting set baseurl
|
||||
theme activate "The Theme Machine"
|
||||
menu create /MenuName:"Main Menu"
|
||||
blog create /Title:"Blog" /Homepage:true /Description:"This is your Orchard Blog."
|
||||
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
||||
widget create MenuWidget /Title:"Main Menu" /RenderTitle:false /Zone:"Navigation" /Position:"1" /Layer:"Default" /Identity:"MenuWidget1" /MenuName:"Main Menu"
|
||||
</Command>
|
||||
<Command>
|
||||
layer create Default /LayerRule:"true" /Description:"The widgets in this layer are displayed on all pages"
|
||||
layer create Authenticated /LayerRule:"authenticated" /Description:"The widgets in this layer are displayed when the user is authenticated"
|
||||
layer create Anonymous /LayerRule:"not authenticated" /Description:"The widgets in this layer are displayed when the user is anonymous"
|
||||
layer create Disabled /LayerRule:"false" /Description:"The widgets in this layer are never displayed"
|
||||
layer create TheHomepage /LayerRule:"url '~/'" /Description:"The widgets in this layer are displayed on the home page"
|
||||
widget create HtmlWidget /Title:"First Leader Aside" /Zone:"TripelFirst" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget1" /UseLoremIpsumText:true
|
||||
widget create HtmlWidget /Title:"Second Leader Aside" /Zone:"TripelSecond" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget2" /UseLoremIpsumText:true
|
||||
widget create HtmlWidget /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget3" /UseLoremIpsumText:true
|
||||
site setting set baseurl
|
||||
theme activate "The Theme Machine"
|
||||
menu create /MenuName:"Main Menu"
|
||||
blog create /Title:"Blog" /Homepage:true /Description:"This is your Orchard Blog."
|
||||
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
||||
widget create MenuWidget /Title:"Main Menu" /RenderTitle:false /Zone:"Navigation" /Position:"1" /Layer:"Default" /Identity:"MenuWidget1" /MenuName:"Main Menu"
|
||||
</Command>
|
||||
</Orchard>
|
||||
|
||||
Reference in New Issue
Block a user