mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-17 18:01:19 +08:00
Merge branch '1.10.x' into dev
This commit is contained in:
@@ -392,7 +392,7 @@
|
||||
<Output TaskParameter="Lines" ItemName="ProfilingSetupCommands"/>
|
||||
</ReadLinesFromFile>
|
||||
|
||||
<Exec Command="$(ProfilingFolder)\bin\Orchard.exe %(ProfilingSetupCommands.Identity)" WorkingDirectory="$(ProfilingFolder)"/>
|
||||
<Exec Command=""$(ProfilingFolder)\bin\Orchard.exe" %(ProfilingSetupCommands.Identity)" WorkingDirectory="$(ProfilingFolder)"/>
|
||||
</Target>
|
||||
|
||||
<!-- Gallery Packaging -->
|
||||
|
||||
@@ -99,10 +99,6 @@ namespace Orchard.Pages.Commands {
|
||||
}
|
||||
}
|
||||
|
||||
if (Homepage) {
|
||||
_homeAliasService.PublishHomeAlias(page);
|
||||
}
|
||||
|
||||
var layout = default(string);
|
||||
if (UseWelcomeText) {
|
||||
var text = T(
|
||||
@@ -209,6 +205,10 @@ Aliquam vel sem nibh. Suspendisse vel condimentum tellus.</p>").Text;
|
||||
|
||||
if (Publish) {
|
||||
_contentManager.Publish(page);
|
||||
|
||||
if (Homepage) {
|
||||
_homeAliasService.PublishHomeAlias(page);
|
||||
}
|
||||
}
|
||||
|
||||
Context.Output.WriteLine(T("Page created successfully.").Text);
|
||||
|
||||
Reference in New Issue
Block a user