mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Formatting default recipe files.
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<Orchard>
|
<Orchard>
|
||||||
<Recipe>
|
<Recipe>
|
||||||
<Name>Blog</Name>
|
<Name>Blog</Name>
|
||||||
<Description>A recipe providing the features you need for a personal blog site.</Description>
|
<Description>A recipe providing the features you need for a personal blog site.</Description>
|
||||||
<Author>The Orchard Team</Author>
|
<Author>The Orchard Team</Author>
|
||||||
<WebSite>http://orchardproject.net</WebSite>
|
<WebSite>http://orchardproject.net</WebSite>
|
||||||
<Category>Default</Category>
|
<Category>Default</Category>
|
||||||
<Tags>blog</Tags>
|
<Tags>blog</Tags>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<IsSetupRecipe>true</IsSetupRecipe>
|
<IsSetupRecipe>true</IsSetupRecipe>
|
||||||
</Recipe>
|
</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,
|
XmlRpc,Orchard.Blogs.RemotePublishing,Orchard.ContentPicker,
|
||||||
TinyMce,Orchard.MediaLibrary,Orchard.PublishLater,
|
TinyMce,Orchard.MediaLibrary,Orchard.PublishLater,
|
||||||
Orchard.jQuery,Orchard.Widgets,
|
Orchard.jQuery,Orchard.Widgets,
|
||||||
@@ -20,49 +20,49 @@
|
|||||||
Orchard.Taxonomies,Orchard.Workflows,
|
Orchard.Taxonomies,Orchard.Workflows,
|
||||||
TheThemeMachine" />
|
TheThemeMachine" />
|
||||||
|
|
||||||
<Metadata>
|
<Metadata>
|
||||||
<Types>
|
<Types>
|
||||||
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||||
<TitlePart/>
|
<TitlePart/>
|
||||||
<TagsPart />
|
<TagsPart />
|
||||||
<LocalizationPart />
|
<LocalizationPart />
|
||||||
<AutoroutePart />
|
<AutoroutePart />
|
||||||
<MenuPart />
|
<MenuPart />
|
||||||
</Page>
|
</Page>
|
||||||
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||||
<CommentsPart />
|
<CommentsPart />
|
||||||
<TagsPart />
|
<TagsPart />
|
||||||
<LocalizationPart />
|
<LocalizationPart />
|
||||||
<TitlePart/>
|
<TitlePart/>
|
||||||
<AutoroutePart />
|
<AutoroutePart />
|
||||||
</BlogPost>
|
</BlogPost>
|
||||||
</Types>
|
</Types>
|
||||||
<Parts>
|
<Parts>
|
||||||
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
||||||
</Parts>
|
</Parts>
|
||||||
</Metadata>
|
</Metadata>
|
||||||
|
|
||||||
<Settings>
|
<Settings>
|
||||||
<SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
|
<SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
|
||||||
<CommentSettingsPart ModerateComments="true" />
|
<CommentSettingsPart ModerateComments="true" />
|
||||||
</Settings>
|
</Settings>
|
||||||
|
|
||||||
<Migration features="*" />
|
<Migration features="*" />
|
||||||
|
|
||||||
<Command>
|
<Command>
|
||||||
layer create Default /LayerRule:"true" /Description:"The widgets in this layer are displayed on all pages"
|
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 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 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 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"
|
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:"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:"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
|
widget create HtmlWidget /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget3" /UseLoremIpsumText:true
|
||||||
site setting set baseurl
|
site setting set baseurl
|
||||||
theme activate "The Theme Machine"
|
theme activate "The Theme Machine"
|
||||||
menu create /MenuName:"Main Menu"
|
menu create /MenuName:"Main Menu"
|
||||||
blog create /Title:"Blog" /Homepage:true /Description:"This is your Orchard Blog."
|
blog create /Title:"Blog" /Homepage:true /Description:"This is your Orchard Blog."
|
||||||
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
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"
|
widget create MenuWidget /Title:"Main Menu" /RenderTitle:false /Zone:"Navigation" /Position:"1" /Layer:"Default" /Identity:"MenuWidget1" /MenuName:"Main Menu"
|
||||||
</Command>
|
</Command>
|
||||||
</Orchard>
|
</Orchard>
|
||||||
|
|||||||
@@ -1,37 +1,37 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<Orchard>
|
<Orchard>
|
||||||
<Recipe>
|
<Recipe>
|
||||||
<Name>Core</Name>
|
<Name>Core</Name>
|
||||||
<Description>A recipe providing only the core Orchard framework, with limited end-user functionality. This is useful for development scenarios.</Description>
|
<Description>A recipe providing only the core Orchard framework, with limited end-user functionality. This is useful for development scenarios.</Description>
|
||||||
<Author>The Orchard Team</Author>
|
<Author>The Orchard Team</Author>
|
||||||
<WebSite>http://orchardproject.net</WebSite>
|
<WebSite>http://orchardproject.net</WebSite>
|
||||||
<Category>Default</Category>
|
<Category>Default</Category>
|
||||||
<Tags>developer</Tags>
|
<Tags>developer</Tags>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<IsSetupRecipe>true</IsSetupRecipe>
|
<IsSetupRecipe>true</IsSetupRecipe>
|
||||||
</Recipe>
|
</Recipe>
|
||||||
|
|
||||||
<Feature disable="Feeds, Containers"
|
<Feature disable="Feeds, Containers"
|
||||||
enable="Orchard.jQuery,Orchard.Alias,Orchard.Autoroute" />
|
enable="Orchard.jQuery,Orchard.Alias,Orchard.Autoroute" />
|
||||||
|
|
||||||
<Metadata>
|
<Metadata>
|
||||||
<Types>
|
<Types>
|
||||||
<Page ContentTypeSettings.Draftable="True">
|
<Page ContentTypeSettings.Draftable="True">
|
||||||
<BodyPart />
|
<BodyPart />
|
||||||
</Page>
|
</Page>
|
||||||
</Types>
|
</Types>
|
||||||
<Parts>
|
<Parts>
|
||||||
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
||||||
</Parts>
|
</Parts>
|
||||||
</Metadata>
|
</Metadata>
|
||||||
|
|
||||||
<Settings />
|
<Settings />
|
||||||
|
|
||||||
<Migration features="*" />
|
<Migration features="*" />
|
||||||
|
|
||||||
<Command>
|
<Command>
|
||||||
menu create /MenuName:"Main Menu"
|
menu create /MenuName:"Main Menu"
|
||||||
page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /Text:"Welcome To Orchard!"
|
page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /Text:"Welcome To Orchard!"
|
||||||
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
||||||
</Command>
|
</Command>
|
||||||
</Orchard>
|
</Orchard>
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<Orchard>
|
<Orchard>
|
||||||
<Recipe>
|
<Recipe>
|
||||||
<Name>Default</Name>
|
<Name>Default</Name>
|
||||||
<Description>The default recipe for an Orchard site that includes pages, blogs, custom content types, comments, tags, widgets and basic navigation.</Description>
|
<Description>The default recipe for an Orchard site that includes pages, blogs, custom content types, comments, tags, widgets and basic navigation.</Description>
|
||||||
<Author>The Orchard Team</Author>
|
<Author>The Orchard Team</Author>
|
||||||
<WebSite>http://orchardproject.net</WebSite>
|
<WebSite>http://orchardproject.net</WebSite>
|
||||||
<Category>Default</Category>
|
<Category>Default</Category>
|
||||||
<Tags></Tags>
|
<Tags></Tags>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<IsSetupRecipe>true</IsSetupRecipe>
|
<IsSetupRecipe>true</IsSetupRecipe>
|
||||||
</Recipe>
|
</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,
|
||||||
TinyMce,Orchard.MediaLibrary,Orchard.ContentPicker,Orchard.PublishLater,
|
TinyMce,Orchard.MediaLibrary,Orchard.ContentPicker,Orchard.PublishLater,
|
||||||
Orchard.jQuery,Orchard.Widgets,Orchard.ContentTypes,
|
Orchard.jQuery,Orchard.Widgets,Orchard.ContentTypes,
|
||||||
Orchard.Scripting,Orchard.Scripting.Lightweight,PackagingServices,Orchard.Packaging,
|
Orchard.Scripting,Orchard.Scripting.Lightweight,PackagingServices,Orchard.Packaging,
|
||||||
@@ -19,43 +19,43 @@
|
|||||||
Orchard.Layouts,Orchard.Layouts.Tokens,
|
Orchard.Layouts,Orchard.Layouts.Tokens,
|
||||||
TheThemeMachine" />
|
TheThemeMachine" />
|
||||||
|
|
||||||
<Metadata>
|
<Metadata>
|
||||||
<Types>
|
<Types>
|
||||||
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||||
<TagsPart />
|
<TagsPart />
|
||||||
<LocalizationPart />
|
<LocalizationPart />
|
||||||
<TitlePart/>
|
<TitlePart/>
|
||||||
<AutoroutePart />
|
<AutoroutePart />
|
||||||
<MenuPart />
|
<MenuPart />
|
||||||
</Page>
|
</Page>
|
||||||
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
|
||||||
<CommentsPart />
|
<CommentsPart />
|
||||||
<TagsPart />
|
<TagsPart />
|
||||||
<LocalizationPart />
|
<LocalizationPart />
|
||||||
<TitlePart/>
|
<TitlePart/>
|
||||||
<AutoroutePart />
|
<AutoroutePart />
|
||||||
</BlogPost>
|
</BlogPost>
|
||||||
</Types>
|
</Types>
|
||||||
<Parts>
|
<Parts>
|
||||||
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
<BodyPart BodyPartSettings.FlavorDefault="html" />
|
||||||
</Parts>
|
</Parts>
|
||||||
</Metadata>
|
</Metadata>
|
||||||
|
|
||||||
<Settings />
|
<Settings />
|
||||||
|
|
||||||
<Migration features="*" />
|
<Migration features="*" />
|
||||||
|
|
||||||
<Command>
|
<Command>
|
||||||
layer create Default /LayerRule:"true" /Description:"The widgets in this layer are displayed on all pages"
|
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 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 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 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"
|
layer create TheHomepage /LayerRule:"url '~/'" /Description:"The widgets in this layer are displayed on the home page"
|
||||||
site setting set baseurl
|
site setting set baseurl
|
||||||
menu create /MenuName:"Main Menu"
|
menu create /MenuName:"Main Menu"
|
||||||
page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /UseWelcomeText:true
|
page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /UseWelcomeText:true
|
||||||
menuitem create /MenuPosition:"0" /MenuText:"Home" /Url:"~/" /MenuName:"Main Menu"
|
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"
|
widget create MenuWidget /Title:"Main Menu" /RenderTitle:false /Zone:"Navigation" /Position:"1" /Layer:"Default" /Identity:"MenuWidget1" /MenuName:"Main Menu"
|
||||||
theme activate "The Theme Machine"
|
theme activate "The Theme Machine"
|
||||||
</Command>
|
</Command>
|
||||||
</Orchard>
|
</Orchard>
|
||||||
|
|||||||
Reference in New Issue
Block a user