Skip to content

Commit

Permalink
RelativePathFix
Browse files Browse the repository at this point in the history
  • Loading branch information
AThraen committed Dec 8, 2023
1 parent 5c3c642 commit 6b6ba8a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<module loadFromBin="false" authorizationPolicy="episerver:cmsedit" >
<module clientResourceRelativePath="" loadFromBin="false" authorizationPolicy="episerver:cmsedit" >
<assemblies>
<add assembly="CodeArt.Optimizely.PropertyInheritance" />
</assemblies>
Expand Down
18 changes: 16 additions & 2 deletions src/SampleSite/Models/Pages/SitePageData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ namespace SampleSite.Models.Pages;
/// </summary>
public abstract class SitePageData : PageData, ICustomCssInContentArea
{


[Inherit(InheritIfNullOrEmpty = true, SearchAllAncestors = true)]
public virtual string Area { get; set; }





[Display(
GroupName = Globals.GroupNames.MetaData,
Order = 100)]
Expand All @@ -29,8 +38,13 @@ public virtual string MetaTitle
set => this.SetPropertyValue(p => p.MetaTitle, value);
}

[Inherit(InheritIfNullOrEmpty = true,SearchAllAncestors =true)]
public virtual string Area { get; set; }








[Display(
GroupName = Globals.GroupNames.MetaData,
Expand Down

0 comments on commit 6b6ba8a

Please sign in to comment.