Skip to content

Commit

Permalink
Sitecore#155-Create-Sitemap: Sitemap-related files...
Browse files Browse the repository at this point in the history
  • Loading branch information
navancommits committed Dec 12, 2023
1 parent bb300b1 commit f3442eb
Show file tree
Hide file tree
Showing 35 changed files with 618 additions and 53 deletions.
1 change: 1 addition & 0 deletions Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
<PackageReference Update="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Update="Markdig" Version="0.33.0" />
<PackageReference Update="DotnetSitemapGenerator" Version="1.0.4" />
</ItemGroup>
</Project>
13 changes: 13 additions & 0 deletions src/Feature/Sitemap/Sitemap.module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "Feature.Sitemap",
"items": {
"includes": [
{
"name": "templates",
"path": "/sitecore/templates/Feature/Sitemap",
"allowedPushOperations": "createUpdateAndDelete",
"scope": "itemAndDescendants"
}
]
}
}
31 changes: 31 additions & 0 deletions src/Feature/Sitemap/items/templates/Sitemap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
ID: "51273b02-674d-4a04-947f-d249f2871bcd"
Parent: "8f343079-3cc5-4ef7-bc27-32addb46f45e"
Template: "0437fee2-44c9-46a6-abe9-28858d9fee8c"
Path: /sitecore/templates/Feature/Sitemap
Languages:
- Language: en
Versions:
- Version: 1
Fields:
- ID: "25bed78c-4957-4165-998a-ca1b52f67497"
Hint: __Created
Value: 20231212T005121Z
- ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103"
Hint: __Owner
Value: |
sitecore\qDWz4GMo2o
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f"
Hint: __Created by
Value: |
sitecore\qDWz4GMo2o
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "61b184a4-32b9-46ae-a09a-b765d21b4b7a"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20231212T005449Z
37 changes: 37 additions & 0 deletions src/Feature/Sitemap/items/templates/Sitemap/_SitemapData.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
ID: "00f7955a-eb3d-4659-94f9-9202865e39de"
Parent: "51273b02-674d-4a04-947f-d249f2871bcd"
Template: "ab86861a-6030-46c5-b394-e8f99e8b87db"
Path: /sitecore/templates/Feature/Sitemap/_SitemapData
SharedFields:
- ID: "12c33f3f-86c5-43a5-aeb4-5598cec45116"
Hint: __Base template
Value: |
{1930BBEB-7805-471A-A3BE-4858AC7CF696}
{4414A1F9-826A-4647-8DF4-ED6A95E64C43}
Languages:
- Language: en
Versions:
- Version: 1
Fields:
- ID: "25bed78c-4957-4165-998a-ca1b52f67497"
Hint: __Created
Value: 20231212T000336Z
- ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103"
Hint: __Owner
Value: |
sitecore\qDWz4GMo2o
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f"
Hint: __Created by
Value: |
sitecore\qDWz4GMo2o
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "d85a32fd-cf94-4e5f-92f1-440bb8062c4b"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20231212T005128Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
ID: "f1cda39f-65de-4cde-a59b-bcd97968f090"
Parent: "00f7955a-eb3d-4659-94f9-9202865e39de"
Template: "e269fbb5-3750-427a-9149-7aa950b49301"
Path: /sitecore/templates/Feature/Sitemap/_SitemapData/Sitemap Settings
Languages:
- Language: en
Versions:
- Version: 1
Fields:
- ID: "25bed78c-4957-4165-998a-ca1b52f67497"
Hint: __Created
Value: 20231212T000540Z
- ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103"
Hint: __Owner
Value: |
sitecore\qDWz4GMo2o
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f"
Hint: __Created by
Value: |
sitecore\qDWz4GMo2o
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "ae77877a-f036-42ac-ae2a-09cb0f49f373"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20231212T000718Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
ID: "e319ae64-c32a-4e79-b102-256f8c869dae"
Parent: "f1cda39f-65de-4cde-a59b-bcd97968f090"
Template: "455a3e98-a627-4b40-8035-e683a0331ac7"
Path: /sitecore/templates/Feature/Sitemap/_SitemapData/Sitemap Settings/IncludeinSitemap
SharedFields:
- ID: "ab162cc0-dc80-4abf-8871-998ee5d7ba32"
Hint: Type
Value: Checkbox
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e"
Hint: __Sortorder
Value: 100
- ID: "be351a73-fcb0-4213-93fa-c302d8ab4f51"
Hint: Shared
Value: 1
Languages:
- Language: en
Fields:
- ID: "19a69332-a23e-4e70-8d16-b2640cb24cc8"
Hint: Title
Value: Include in Sitemap
- ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb"
Hint: __Display name
Value: Include in Sitemap
Versions:
- Version: 1
Fields:
- ID: "25bed78c-4957-4165-998a-ca1b52f67497"
Hint: __Created
Value: 20231212T000541Z
- ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103"
Hint: __Owner
Value: |
sitecore\qDWz4GMo2o
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f"
Hint: __Created by
Value: |
sitecore\qDWz4GMo2o
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "b83eade9-b538-40ac-943f-5e5bbdc0051a"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20231212T001324Z
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public class MvpSiteSettings

public string? NotFoundPage { get; set; }

public string? DefaultLanguageHeader { get; set; }

public Uri? RenderingHostUri { get; set; }

public bool EnableExperienceEditor { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.Extensions.Configuration;
using Mvp.Foundation.Configuration.Rendering.AppSettings;
using Mvp.Foundation.DataFetching.GraphQL;
using System.Collections.Generic;

namespace Mvp.Foundation.DataFetching.GraphQL
Expand Down
12 changes: 9 additions & 3 deletions src/Project/MvpSite/items/content/MvpSite/Home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ SharedFields:
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e"
Hint: __Sortorder
Value: 100
- ID: "e319ae64-c32a-4e79-b102-256f8c869dae"
Hint: IncludeinSitemap
Value: 1
- ID: "f1a1fe9e-a60c-4ddb-a3a0-bb5b29fe732e"
Hint: __Renderings
Value: |
Expand Down Expand Up @@ -143,7 +146,7 @@ Languages:
Value: MVP, Most Valuable Professional
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "198fd8d5-7f00-4749-9c29-b7e4bd29ff1f"
Value: "7bfb35cf-92df-47a0-b476-3021107d291e"
- ID: "986ff3ab-18cd-47d7-b294-9a091f0e8cea"
Hint: OgType
Value: article
Expand All @@ -160,13 +163,16 @@ Languages:
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20221004T072522Z
Value: 20231212T000936Z
- ID: "e08359cc-7bf5-4866-81a6-1e1d07226667"
Hint: MetaDescription
Value: MVP Home Description
- ID: "eeb29922-a760-44a8-a5ab-f28efbdc641c"
Hint: OgDescription
Value: MVP Home Description
- ID: "efc0a3c7-6993-47d2-ba85-10b44961916e"
Hint: IncludeInMenu
Value: 1
9 changes: 6 additions & 3 deletions src/Project/MvpSite/items/content/MvpSite/Home/About.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ SharedFields:
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e"
Hint: __Sortorder
Value: 100
- ID: "e319ae64-c32a-4e79-b102-256f8c869dae"
Hint: IncludeinSitemap
Value: 1
- ID: "f1a1fe9e-a60c-4ddb-a3a0-bb5b29fe732e"
Hint: __Renderings
Value: |
Expand Down Expand Up @@ -77,14 +80,14 @@ Languages:
Value: 20200604T042230Z
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "94e9fd25-7606-41b5-9ea0-012b3f9065ba"
Value: "a2655e6a-c3ac-48d7-8446-4422faad31a0"
- ID: "b1ece12f-b2c9-44e6-92a3-c5dfd6514b59"
Hint: MenuTitle
Value: About
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20220928T162952Z
Value: 20231212T000919Z
12 changes: 9 additions & 3 deletions src/Project/MvpSite/items/content/MvpSite/Home/Application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ SharedFields:
- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318"
Hint: __Icon
Value: office/32x32/desktop.png
- ID: "508c54c0-cd02-4266-8b68-d71f88de1aa9"
Hint: ChangeFrequency
Value:
- ID: "76fb6ffd-4487-4028-a1cf-705fbe360cba"
Hint: Priority
Value:
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e"
Hint: __Sortorder
Value: 200
Expand Down Expand Up @@ -58,20 +64,20 @@ Languages:
sitecore\[email protected]
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "7bc00d1f-bc82-4fb1-8e39-4bf16d147865"
Value: "bc8bf505-aa89-4af2-bde3-12e5711e435f"
- ID: "b1ece12f-b2c9-44e6-92a3-c5dfd6514b59"
Hint: MenuTitle
Value: Application
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "c58ed264-1f55-4aa3-a30e-da12ce43cb38"
Hint: RequiresAuthentication
Value: 1
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20221006T145101Z
Value: 20231211T211623Z
- ID: "efc0a3c7-6993-47d2-ba85-10b44961916e"
Hint: IncludeInMenu
Value: 1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Template: "a054184c-3b20-4c2b-ab04-c8a03acd5522"
Path: /sitecore/content/MvpSite/Home/Application/Admin
BranchID: "ef8dd6f4-1bb8-4831-a1a6-defa3594051a"
SharedFields:
- ID: "508c54c0-cd02-4266-8b68-d71f88de1aa9"
Hint: ChangeFrequency
Value:
- ID: "76fb6ffd-4487-4028-a1cf-705fbe360cba"
Hint: Priority
Value:
- ID: "f6d8a61c-2f84-4401-bd24-52d2068172bc"
Hint: __Originator
Value: "{9AC6DDA3-8785-4C63-A2AB-457D8CC56D19}"
Expand All @@ -26,20 +32,20 @@ Languages:
sitecore\[email protected]
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "ad9443bb-2e94-471d-9a5a-bc36cd64c7e0"
Value: "eb4f172c-58e2-4014-b355-4003e0a5a97c"
- ID: "b1ece12f-b2c9-44e6-92a3-c5dfd6514b59"
Hint: MenuTitle
Value: Admin
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "c58ed264-1f55-4aa3-a30e-da12ce43cb38"
Hint: RequiresAuthentication
Value: 1
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20220906T133451Z
Value: 20231211T211937Z
- ID: "efc0a3c7-6993-47d2-ba85-10b44961916e"
Hint: IncludeInMenu
Value:
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Template: "a054184c-3b20-4c2b-ab04-c8a03acd5522"
Path: /sitecore/content/MvpSite/Home/Application/Admin/Applications
BranchID: "ef8dd6f4-1bb8-4831-a1a6-defa3594051a"
SharedFields:
- ID: "508c54c0-cd02-4266-8b68-d71f88de1aa9"
Hint: ChangeFrequency
Value: "{1C2878D9-80A6-4760-B7EB-DBADE16AE8C8}"
- ID: "76fb6ffd-4487-4028-a1cf-705fbe360cba"
Hint: Priority
Value:
- ID: "f1a1fe9e-a60c-4ddb-a3a0-bb5b29fe732e"
Hint: __Renderings
Value: |
Expand Down Expand Up @@ -51,20 +57,20 @@ Languages:
sitecore\[email protected]
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "a3267a9e-4eac-4959-9816-20ba872215de"
Value: "9a98a22b-4d8b-4005-9623-33f3348ff476"
- ID: "b1ece12f-b2c9-44e6-92a3-c5dfd6514b59"
Hint: MenuTitle
Value: Applications
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "c58ed264-1f55-4aa3-a30e-da12ce43cb38"
Hint: RequiresAuthentication
Value: 1
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20220912T154647Z
Value: 20231211T212020Z
- ID: "efc0a3c7-6993-47d2-ba85-10b44961916e"
Hint: IncludeInMenu
Value:
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ SharedFields:
- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e"
Hint: __Sortorder
Value: 500
- ID: "e319ae64-c32a-4e79-b102-256f8c869dae"
Hint: IncludeinSitemap
Value: 1
- ID: "f1a1fe9e-a60c-4ddb-a3a0-bb5b29fe732e"
Hint: __Renderings
Value: |
Expand Down Expand Up @@ -113,14 +116,14 @@ Languages:
Value: 20200604T042242Z
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "2db96519-9c12-4758-a402-10371e24324d"
Value: "f8be1109-d04f-4936-931e-f46b2b997770"
- ID: "b1ece12f-b2c9-44e6-92a3-c5dfd6514b59"
Hint: MenuTitle
Value: Become an MVP
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
sitecore\qDWz4GMo2o
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20220928T162952Z
Value: 20231212T000926Z
Loading

0 comments on commit f3442eb

Please sign in to comment.