Hopefully some fixing

This commit is contained in:
2024-04-05 09:23:36 -05:00
parent d67b849237
commit 355ff3ba83
7 changed files with 4 additions and 86 deletions

View File

@@ -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"
)]

View File

@@ -1,21 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="OrchardCore.Theme.Targets" Version="1.8.2" />
<PackageReference Include="OrchardCore.ContentManagement" Version="1.8.2" />
<PackageReference Include="OrchardCore.DisplayManagement" Version="1.8.2" />
<PackageReference Include="OrchardCore.ResourceManagement" Version="1.8.2" />
</ItemGroup>
</Project>

View File

@@ -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

View File

@@ -1,27 +0,0 @@
<!DOCTYPE html>
<html lang="{{ Culture.Name }}">
<head>
<meta charset="utf-8">
<title>{% page_title Site.SiteName, position: "before", separator: " - " %}</title>
{% resources type: "Meta" %}
<!-- INSERT REQUIRED RESOURCES HERE -->
{% resources type: "HeadLink" %}
{% resources type: "Stylesheet" %}
{% resources type: "HeadScript" %}
</head>
<body dir="{{ Culture.Dir }}">
{% render_body %}
<footer>
{% render_section "Footer", required: false %}
</footer>
{% script name:"jquery", use_cdn:"true", at:"Foot" %}
{% resources type: "FootScript" %}
</body>
</html>

View File

@@ -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."
)]

View File

@@ -6,6 +6,8 @@ builder.Host.UseNLogHost();
builder.Services
.AddOrchardCms()
.EnableFeature("OrchardCore.Tenants")
.AddSetupFeatures("OrchardCore.AutoSetup")
// // Orchard Specific Pipeline
// .ConfigureServices( services => {
// })

View File

@@ -19,6 +19,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="OrchardCore.AutoSetup" Version="1.8.2" />
<PackageReference Include="OrchardCore.Logging.NLog" Version="1.8.2" />
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="1.8.2" />
</ItemGroup>