Auto setup and theme fixing (hopefully)

This commit is contained in:
2024-04-05 09:22:58 -05:00
parent b09f5bd336
commit d67b849237
4 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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

@@ -0,0 +1,21 @@
<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

@@ -0,0 +1,25 @@
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

@@ -0,0 +1,27 @@
<!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>