diff --git a/ThemeName.OrchardCore/Manifest.cs b/ThemeName.OrchardCore/Manifest.cs deleted file mode 100644 index 73ee955..0000000 --- a/ThemeName.OrchardCore/Manifest.cs +++ /dev/null @@ -1,9 +0,0 @@ -using OrchardCore.DisplayManagement.Manifest; - -[assembly: Theme( - Name = "ThemeName.OrchardCore", - Author = "The Orchard Core Team", - Website = "https://orchardcore.net", - Version = "0.0.1", - Description = "ThemeName.OrchardCore" -)] diff --git a/ThemeName.OrchardCore/ThemeName.OrchardCore.csproj b/ThemeName.OrchardCore/ThemeName.OrchardCore.csproj deleted file mode 100644 index 7ba3442..0000000 --- a/ThemeName.OrchardCore/ThemeName.OrchardCore.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - - net8.0 - true - enable - enable - - - - - - - - - - - - - - diff --git a/ThemeName.OrchardCore/ThemeName.OrchardCore.sln b/ThemeName.OrchardCore/ThemeName.OrchardCore.sln deleted file mode 100644 index ac07be5..0000000 --- a/ThemeName.OrchardCore/ThemeName.OrchardCore.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.5.002.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ThemeName.OrchardCore", "ThemeName.OrchardCore.csproj", "{13DF67AB-F982-493C-956D-B06D7E16808C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {13DF67AB-F982-493C-956D-B06D7E16808C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {13DF67AB-F982-493C-956D-B06D7E16808C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {13DF67AB-F982-493C-956D-B06D7E16808C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {13DF67AB-F982-493C-956D-B06D7E16808C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {34CFD630-759B-43D4-B164-3115DB7FB384} - EndGlobalSection -EndGlobal diff --git a/ThemeName.OrchardCore/Views/Layout.liquid b/ThemeName.OrchardCore/Views/Layout.liquid deleted file mode 100644 index fba9985..0000000 --- a/ThemeName.OrchardCore/Views/Layout.liquid +++ /dev/null @@ -1,27 +0,0 @@ - - - - - {% page_title Site.SiteName, position: "before", separator: " - " %} - - {% resources type: "Meta" %} - - - - {% resources type: "HeadLink" %} - {% resources type: "Stylesheet" %} - {% resources type: "HeadScript" %} - - - - {% render_body %} - - - - {% script name:"jquery", use_cdn:"true", at:"Foot" %} - - {% resources type: "FootScript" %} - - \ No newline at end of file diff --git a/src/OAP/Oap.Theme/Manifest.cs b/src/OAP/Oap.Theme/Manifest.cs index 5f5f3c4..89788d6 100644 --- a/src/OAP/Oap.Theme/Manifest.cs +++ b/src/OAP/Oap.Theme/Manifest.cs @@ -6,8 +6,5 @@ using OrchardCore.DisplayManagement.Manifest; Author = "Overseas Auto Protection", Website = "https://oaprotection.org/", Version = "0.0.1", - Description = "Overseas Auto Protection site theme.", - Dependencies = [ - "OAP.Content", - ] + Description = "Overseas Auto Protection site theme." )] diff --git a/src/Twain.Web/Program.cs b/src/Twain.Web/Program.cs index 861fd96..913f0d2 100644 --- a/src/Twain.Web/Program.cs +++ b/src/Twain.Web/Program.cs @@ -6,6 +6,8 @@ builder.Host.UseNLogHost(); builder.Services .AddOrchardCms() + .EnableFeature("OrchardCore.Tenants") + .AddSetupFeatures("OrchardCore.AutoSetup") // // Orchard Specific Pipeline // .ConfigureServices( services => { // }) diff --git a/src/Twain.Web/Twain.Web.csproj b/src/Twain.Web/Twain.Web.csproj index 57e448d..5ddb8b3 100644 --- a/src/Twain.Web/Twain.Web.csproj +++ b/src/Twain.Web/Twain.Web.csproj @@ -19,6 +19,7 @@ +