mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Removing unused recipes from Orchard.Autoroute
--HG-- branch : 1.x
This commit is contained in:
parent
cfc14058df
commit
4cb6c4dd31
@ -66,9 +66,6 @@
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Recipes\autorouteblogs.recipe.xml" />
|
||||
<Content Include="Recipes\autoroutepages.recipe.xml" />
|
||||
<Content Include="Recipes\autoroutelists.recipe.xml" />
|
||||
<Content Include="Styles\orchard-autoroute-settings.css" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Scripts\Web.config" />
|
||||
|
@ -1,31 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<Orchard>
|
||||
<Recipe>
|
||||
<Name>AutorouteBlogs</Name>
|
||||
<Description>Adds Autoroute functionality to an existing blog</Description>
|
||||
<Author>The Orchard Team</Author>
|
||||
<WebSite>http://orchardproject.net</WebSite>
|
||||
<Tags>blog, autoroute</Tags>
|
||||
<Version>1.0</Version>
|
||||
</Recipe>
|
||||
|
||||
<Feature enable="Orchard.Blogs" />
|
||||
|
||||
<Metadata>
|
||||
<Types>
|
||||
<Blog>
|
||||
<AutoroutePart />
|
||||
</Blog>
|
||||
<BlogPost>
|
||||
<AutoroutePart />
|
||||
</BlogPost>
|
||||
</Types>
|
||||
</Metadata>
|
||||
|
||||
<Migration features="*" />
|
||||
|
||||
<Command>
|
||||
autoroute create "Blog" "Title" "{Content.Slug}" "http://website.com/my-blog" true
|
||||
autoroute create "BlogPost" "Date and Title" "{Content.Date.Format:yyyy}/{Content.Date.Format:MM}/{Content.Date.Format:dd}/{Content.Slug}" "http://website.com/2011/05/12/a-blog-post" true
|
||||
</Command>
|
||||
</Orchard>
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<Orchard>
|
||||
<Recipe>
|
||||
<Name>AutorouteLists</Name>
|
||||
<Description>Adds Autoroute functionality to an existing blog</Description>
|
||||
<Author>The Orchard Team</Author>
|
||||
<WebSite>http://orchardproject.net</WebSite>
|
||||
<Tags>container, autoroute</Tags>
|
||||
<Version>1.0</Version>
|
||||
</Recipe>
|
||||
|
||||
<Feature enable="Orchard.Pages" />
|
||||
|
||||
<Metadata>
|
||||
<Types>
|
||||
<List>
|
||||
<AutoroutePart />
|
||||
</List>
|
||||
</Types>
|
||||
</Metadata>
|
||||
|
||||
<Migration features="*" />
|
||||
|
||||
<Command>
|
||||
autoroute create "List" "Title" "{Content.Slug}" "http://website.com/events" true
|
||||
</Command>
|
||||
</Orchard>
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<Orchard>
|
||||
<Recipe>
|
||||
<Name>AutoroutePages</Name>
|
||||
<Description>Adds Autoroute functionality to an existing blog</Description>
|
||||
<Author>The Orchard Team</Author>
|
||||
<WebSite>http://orchardproject.net</WebSite>
|
||||
<Tags>page, autoroute</Tags>
|
||||
<Version>1.0</Version>
|
||||
</Recipe>
|
||||
|
||||
<Feature enable="Orchard.Pages" />
|
||||
|
||||
<Metadata>
|
||||
<Types>
|
||||
<Page>
|
||||
<AutoroutePart />
|
||||
</Page>
|
||||
</Types>
|
||||
</Metadata>
|
||||
|
||||
<Migration features="*" />
|
||||
|
||||
<Command>
|
||||
autoroute create "Page" "Title" "{Content.Slug}" "http://website.com/about-us" false
|
||||
</Command>
|
||||
</Orchard>
|
Loading…
Reference in New Issue
Block a user