Skip to content

Commit

Permalink
undo SEO changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed Jun 4, 2024
1 parent 45d9139 commit ac879a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public override Task GetContentItemAspectAsync(ContentItemAspectContext context)
{
// This handlers provides defaults, either from the Seo Meta Settings, or ensures values by default. (title etc)
_contentManager ??= _httpContextAccessor.HttpContext.RequestServices.GetRequiredService<IContentManager>();

var metaSettings = await _siteService.GetCustomSettingsAsync("SocialMetaSettings");
var siteSettings = await _siteService.GetSiteSettingsAsync();
var metaSettings = siteSettings.As<ContentItem>("SocialMetaSettings");

var actionContext = _actionContextAccessor.ActionContext;

Expand Down

0 comments on commit ac879a9

Please sign in to comment.